-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up Read The Docs (RTD) Scaffolding and Sketch Docs Website #202
Conversation
A few questions I have at this point:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initially structure looks really great. I understand most of the pieces but not necessarily how every single file fits together.
What should we do about the existing doc/ folder
I believe we can convert all the markdown files there into something that would be part of the SPRAS docs. Would that involve converting to rst?
I logged in to readthedocs to see if I could provide authorization. I found that "Read the Docs Community (readthedocs.org)" has already been granted organization access by Reed-CompBio because, as Anna told us, they've used it for other projects. Then I added a project and found the Reed-CompBio/spras GitHub repo. The setup wants us to add
Then it tried to run a build, which failed because we are missing that config file.
|
This commit removes the old 'doc/' folder. It moves the reference SPRAS overview into docs/_static (the canonical place for static images with Sphinx) and converts the output file formats into an rst, which I did with: ```bash pandoc output.md --from markdown --to rst -s -o output.rst ``` My notes say the `doc/README.md` is no longer relevant, so I deleted instead of moving that file. One bootstrapping issue -- I updated the repo's main README to point to some documentation about supported PRMs (it previously pointed to the `doc/` folder), but this requires using the soon-to-be link for the relevant page in Read The Docs. We haven't deployed these changes yet, but that page should exist once we do.
I noticed in the GitHub Actions test that the pip install spras command installed several packages I already expected to be installed in the conda environment:
We can explore that after merging this. In some cases it looks like minor version differences. conda installs I'll have to read more about version matching |
This sets up some of the basics the SPRAS team has discussed w.r.t. building an official documentation website. I tried to focus on organization/scaffolding for the docs, and not so much the content (which I'm less qualified to write).
I also spent some time putting together some meta docs to explain to others how to write/build/visualize any documentation changes they may choose to make. My hope is that I can help the group with formatting, structure, and hosting, and others can work on the biology
While the changes in this PR function to generate documentation, this doesn't yet address the actual hosting of any documentation, which is outside the scope of what I can accomplish in a PR because it requires RTD account creation and the generation of github secrets.
Here's a screenshot of the landing page these changes currently produce:
