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

Build documentation #35

Closed
kallewesterling opened this issue Jun 28, 2022 · 7 comments · Fixed by #139
Closed

Build documentation #35

kallewesterling opened this issue Jun 28, 2022 · 7 comments · Fixed by #139
Assignees

Comments

@kallewesterling
Copy link
Collaborator

No description provided.

@mialondon
Copy link
Contributor

Can you explain what seaborn is when it's mentioned in the Notebook? (Apologies if you have and I missed it)

@kallewesterling
Copy link
Collaborator Author

The notebooks are not the documentation that I'm describing in this issue, but it's a good comment. I will add something about what seaborn is in future versions of the notebooks.

kallewesterling added a commit that referenced this issue Nov 2, 2022
@griff-rees
Copy link
Collaborator

Suggestions, with ease of github hosting in mind:

quartodoc

  • Very new (alpha level python module)
  • Built on quarto, which supports rendering in R, julia, javascript (via observable) and jupyter
  • Works for github hosting
  • Exports to pdf and epub etc.

mkdocs

  • Stable
  • Works with github hosting
  • Harder to feature languages other than python
  • A lot of plug-ins needed to render analysis results

sphinx

  • Original python packaging project
  • Some extensions for other languages, but probably not as flexible as quarto
  • Recently supports github hosting required).

@kallewesterling
Copy link
Collaborator Author

I'd definitely go with mkdocs or sphinx in this case.. I like mkdocs because of the easier-to-edit, but sphinx has some really nice autodoc features that I've used for Defoe, and we could apply here as well, perhaps?

@mialondon
Copy link
Contributor

Noting that the overhead required for someone to update documentation after the project has finished might also be a consideration... e.g. how many dependencies do they need to install and manage before they can change some text?

Also noting that 'documentation' can be ambiguous - I'm guessing this is for generating docs from inline comments rather than managing ReadMes and other text?

@kallewesterling
Copy link
Collaborator Author

@griff-rees just an FYI in relation to @mialondon's comment here -- we had a conversation about documentation this morning, where we concluded that there may be many layers to documentation, where some might need to go into a README.md in the "frontmatter" of the repository, and some can be linked out to an API ref doc (which can be generated, say, using autodoc in Sphinx or so).

@kallewesterling
Copy link
Collaborator Author

how many dependencies do they need to install and manage before they can change some text?

Also in response to this, Sphinx (and the RST format) is industry standard for contributors in open-source coding these days, I think, so anyone who'd want to contribute to the package would be able to do so fairly easily. We would also set up Poetry (on the dev side) to include Sphinx, of course, so it'd be managed by the package manager there.

AoifeHughes pushed a commit that referenced this issue Jun 30, 2023
griff-rees pushed a commit that referenced this issue Jul 7, 2023
@griff-rees griff-rees linked a pull request Jul 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants