mds-provider icon indicating copy to clipboard operation
mds-provider copied to clipboard

Initial docs

Open hunterowens opened this issue 6 years ago • 7 comments

MDS Provider deserves some docs.

This PR creates a docs directory, where you can place .md or .rst files to generate documentation. You can then serve it on the web using github pages.

The structure is as follows.

├── Makefile
├── conf.py
├── index.rst
└── validate.md

Use make build to build html docs. conf.py defines some settings.

Additionally, this PR adds a Pipfile with just dev dependencies.

hunterowens avatar Oct 19 '18 03:10 hunterowens

@hunterowens this is really cool! I was finally able to get make to work on Windows, and build and view these docs as HTML.

I've setup GitHub pages for static HTML and Jekyll sites, but not for something like this with custom build commands. I found this write-up of a possible flow but it doesn't get in to automation.

Do you have experience with that? Would CircleCI or Travis or something be able to help here?

@allejo maybe you've setup a python project with GH pages docs that build on commit/PR, or something similar?

thekaveman avatar Oct 21 '18 02:10 thekaveman

I see that Sphinx also includes an extension githubpages but I'm not sure if/how this helps.

thekaveman avatar Oct 21 '18 02:10 thekaveman

haha...

https://mds-provider.readthedocs.io/en/init-docs/

thekaveman avatar Oct 21 '18 05:10 thekaveman

@thekaveman read the docs is your friend. I'll add a link in the README

hunterowens avatar Oct 21 '18 19:10 hunterowens

Also re: make on windows, you can install a ubuntu VM from the windows store now, which is how I use ssh, make and other tools on my work computer.

hunterowens avatar Oct 21 '18 20:10 hunterowens

rebased on master

thekaveman avatar Oct 28 '18 05:10 thekaveman

Rebased on the forthcoming release in mds-0.3.

Added a small Docker setup for building and serving docs locally in a known environment.

thekaveman avatar May 14 '19 23:05 thekaveman