You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no search functionality for the content (the only search functionality provided by the wiki is search by title page).
When a new feature is developed, we have to wait for the feature to be merged into the master branch to create the relevant documentation.
There is no concept of documentation versioning in the wiki (e.g. a feature may have a difference behaviour from - say - version 1 to version 2 but the wiki documentation can't reflect this).
My initial idea was to migrate the documentation to the xspec website as it allows the usual PR review workflow to update documentation. However, I found a neater solution in Read the Docs which is a popular framework for storing and sharing documentation.
But I can also see some issues in using Read The Docs:
The documentation is in a separate repository so there is a separation between the code and the documentation. This could be a good or a bad thing but I want to raise it.
As far as I could read, using the hosted version of Read The Docs requires to write the documentation in reStructuredText which is a documentation format popular in Python. Markdown is supported only on the deploy-yourself Read the Docs (I need to do more digging here but this is what I understood so far). It is fairly easy to pick up and there are tools like pandoc to automatically convert from Markdown to reStructuredText (in fact, I have been using pandoc for the proof of concept with very little manual editing). Again, I want to raise this as it is yet another documentation format that we don't currently use in XSpec.
Next steps
I would like to get some feedback on the proof of concept at https://xspec-docs.readthedocs.io and see if it is worth for me to continue with the migration. In particular, I'd like feedback to the following questions:
Do you find the proof of concept interesting? Could Read The Docs be a good tool for migrating our documentation? Can you see any other advantages/disadvantages?
Shall I continue with migrating XSpec docs to Read the Docs? If so, I'll like to create a new repo in the xspec organisation (instead of using my personal repo) or move the ownership to the xspec organisation and continue migrating the docs from there.
If 2 is yes, is anyone interested in helping out with the docs migration? This would involve migrating the current docs, reviewing PRs, testing the Read the Docs website, contributing with ideas, etc.
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for exploring this idea! It looks interesting. I'm not very familiar with the xspec website, so I wondered what makes Read The Docs better.
Given that the Read The Docs approach would put the doc in a separate GitHub repo compared to the XSpec code, is there a way to make it easy for XSpec contributors or XSpec users to update the doc and code together if that's what they want? Is that what submodules do?
The Home page of the XSpec wiki says 43 pages. Is that the number of pages we would need to migrate, if we go ahead? I should be able to pitch in, though it might be spread out over a period of time.
Summary
I'm raising this issue here to collect the conversation that happened in the past in various xspec repos, namely #1053 (comment), xspec/xspec.github.io#2 and xspec/xspec.github.io#3
Using the GitHub wiki for storing xspec documentation has the following shortcomings:
My initial idea was to migrate the documentation to the xspec website as it allows the usual PR review workflow to update documentation. However, I found a neater solution in Read the Docs which is a popular framework for storing and sharing documentation.
I set up a proof of concept with a couple of documentation pages at https://xspec-docs.readthedocs.io
This is currently linked to my personal GitHub repository where the docs files are stored at https://github.com/cirulls/xspec-docs/tree/main/docs/source
I believe setting up a Read The Docs site fixes the following shortcomings of the wiki:
More details on how search is implemented in Read The Docs are in https://docs.readthedocs.io/en/stable/development/search.html and https://docs.readthedocs.io/en/stable/guides/advanced-search.html
But I can also see some issues in using Read The Docs:
Next steps
I would like to get some feedback on the proof of concept at https://xspec-docs.readthedocs.io and see if it is worth for me to continue with the migration. In particular, I'd like feedback to the following questions:
Thanks!
The text was updated successfully, but these errors were encountered: