Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mkdocs PR 31 suggestions #1

Closed
wants to merge 12 commits into from

Conversation

lindsay-stevens
Copy link

Detail in commit messages

- explicitly name the docs pages to try to make it clearer that forms/subs/projs
  are attributes of the Client. As main sections they seem like they're separate
  classes or topics. Nesting these into a collapsible section seems unnecessary
  because currently they are a main purpose of the documentation.
- move the header documentation in projects, forms, submissions into the classes
  since it is useful info for docstrings to have.
  - while it may be possible to use a script to avoid having the remaining stub
    files with autodoc instructions, it seems unnecessary for only 4 files.
- add docstrings for Client.open / close so that they show up in the docs.
- README:
  - fix indentation of the Client methods list, it didn't render properly.
  - add section on "Errors raised by pyODK".
  - remove relative links to Examples library for now because it won't work
    on both GitHub and rendered docs - replace later with links to the published docs.
  - move README.md in project root, so it is in the most obvious place.
    - add explicit mkdocs "watch" item to ensure README changes trigger reload.
    - add "index.md" with a snippet instruction, to copy over the README content.
- add ODK logo
  - svg minimised: removing some raster shadowing around the border cuts the
    file size from 128KB to 2KB. Imperceptible difference at the size it's rendered
    at, particularly with a dark background.
- add basic light/dark mode.
- add repo url/name to link to GitHub
- sort the theme/features and mkdocstrings/options dicts for legibility.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants