Skip to content
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

New documentation plan for Nunaliit #1003

Open
5 tasks
ahayes opened this issue Mar 12, 2022 · 3 comments
Open
5 tasks

New documentation plan for Nunaliit #1003

ahayes opened this issue Mar 12, 2022 · 3 comments
Assignees
Labels
Enhancement Desired improvement to design or implementation that adds value.

Comments

@ahayes
Copy link
Member

ahayes commented Mar 12, 2022

The one big wiki doc for Atlas Builder documentation is handy for finding terms using the browser's search function, but sometimes takes too long for github to render, resulting in a timeout error.

I would like to identify a plan for migrating the documentation into some other form. I will use this issue to collect and track hopes, dreams, and options.

Currently, I have the following goals to balance:

  • Simple syntax
  • Easy to contribute
  • Versioned and aligned with source repo
  • Able to be included in pull requests alongside the code
  • Possible to generate functional and attractive doc artifacts in other formats (PDF, ePub, HTML, etc.)

Any other goals to strive for?

Some things to investigate include:

@ahayes ahayes added the Enhancement Desired improvement to design or implementation that adds value. label Mar 12, 2022
@ahayes ahayes self-assigned this Mar 12, 2022
@Noznoc
Copy link
Collaborator

Noznoc commented Mar 14, 2022

My only suggestion that isn't covered from your list is RMarkdown or RBookdown - Uses markdown and you can knit it into HTML, PDF, and more afterwards. I used it a lot for documentation and quick simple websites. You have to run it with R, but it doesn't really depend on R programming knowledge.

I am somewhat familiar with Sphinx but found it a bit complicated at first to use (even with programming experience).

@ahayes
Copy link
Member Author

ahayes commented Mar 24, 2022

Was just editing something in the Atlas Builder docs and decided to try pandoc to convert our existing HTML + github markdown docs to PDF for kicks. Had to sudo apt install pandoc texlive-latex-base texlive-latex-recommended texlive-fonts-recommended on an ubuntu 18.04 development system, stick the wiki page contents in a file I named wiki_atlas_builder.github and then was able to run pandoc --from=html --to=latex --output=Nunaliit_Atlas_Builder_Docs_2022-03-23.pdf wiki_atlas_builder.github to generate Nunaliit_Atlas_Builder_Docs_2022-03-23.pdf

Only took a few minutes total and pandoc can be used to convert between myriad formats. So getting the existing docs into something else should be quite straightforward. I'm leaning towards ReStructuredText for the source but could be persuaded to try other simple formats like CommonMark. Then we can output all kinds of doc versions like DocBook, HTML, PDF, etc.

@alexgao1
Copy link
Contributor

https://docs.gitbook.com
Looking at their criteria, there would need to be some changes to the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Desired improvement to design or implementation that adds value.
Projects
None yet
Development

No branches or pull requests

3 participants