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

docs: post-Sphinx (non-content) enhancements #11

Open
16 of 23 tasks
sadielbartholomew opened this issue Jan 22, 2019 · 3 comments
Open
16 of 23 tasks

docs: post-Sphinx (non-content) enhancements #11

sadielbartholomew opened this issue Jan 22, 2019 · 3 comments
Labels
infrastructure Build system, Sphinx extensions, Deployment etc

Comments

@sadielbartholomew
Copy link
Collaborator

sadielbartholomew commented Jan 22, 2019

Master listing of all enhancements proposed for the documentation (formerly the User Guide & Suite Design Guides) under Sphinx infrastructure, after bare-bones conversion from LaTeX sourcing (#2910). Let's utilise the newly-obtained power of Sphinx! 💪

NB: do not use this to list proposed content improvements, only enhancements to the ultimate presentation output of the material e.g. to aspects of the infrastructure, new features, formatting, styling, bells & whistles, etc. Feel free to move items to separate issues, if appropriate, but please make annotations to that effect for tracking purposes.

  • ✴️ : should be addressed first, since it requires full-team input & determines what URLs will point to what content & we will want to establish stable URLs early on for support purposes etc;
  • 🔶 : see User Guide: convert to sphinx cylc-flow#2651 (comment), giving in marked cases further information not explicitly outlined here.

Constructional enhancements

Auto-documentation (:large_orange_diamond: Auto Documentation section)

To generate:

  • Interfaces, each to display in an intuitive format incorporating standard item components e.g. for the CLI the usage, arguments & options elements:
    • CLI (Cylc API) (currently documented, but only via primitive bash script);
    • suite.rc reference i.e. the suite configuration API;
    • suite API (HTTP);
    • python interfaces relevant to Cylc, e.g. modules such as Jinja2 filters.
  • The suite database. #2483
  • Software dependencies.

Content formatting & styling (markup, directives, roles, etc.)

  • deprecation, versionadded & versionchanged directives: for items in config references.
  • seealso directive: for many instances of plain-text "see (also) sub-section XYZ" pointers to improve internal cross-referencing.
  • Highlights & pull-quotes: to emphasise key points.
  • Better use of admonitions: e.g. tip, hint, error, for specially-rendered topics. Only some notes & warnings directives have been added in for obvious cases as part of #2910.
  • Index of terms & objects: populate this by adding in index directives at appropriate places, as it is automatically included in the built docs, but currently left blank.
    • Blank indexes now removed.
    • Glossary page added.
    • Configs auto documented.
    • The need for dedicated indexes is not clear. Ticking off for now.
  • Sub-figures: for multiple images intended to be grouped as one figure. Currently consecutive standard figures, with the final captioned, are used.
    • Easier solution, removed complex figures!
  • tree-command-like directory structures in remote-job-management.rst: these were written up manually, but there might be extensions (or better ways to write out explicitly) for improved display. (migrated to tree: extension for displaying file hierarchies  cylc-sphinx-extensions#5)

Testing & quality-checking

  • Test to ensure that the syntax highlighting doesn't encounter any erroneous syntax (User Guide: convert to sphinx cylc-flow#2651 (comment))
  • Testing to ensure consistency between code snippets & graphs they are meant to map to, to prevent mismatches e.g. #2874 from updates use minicylc directive from Rose to generate graphs to ensure images are in sync with code snippets
  • Validation of suite.rc code blocks

Visual elements

@sadielbartholomew sadielbartholomew changed the title documentation: post-Sphinx (non-content) enhancements docs: post-Sphinx (non-content) enhancements Jan 22, 2019
@sadielbartholomew
Copy link
Collaborator Author

@oliver-sanders I have tried to collate & organise all comments regarding follow-on work contained in Issue #2651 and PR #2910 into the above listing. However, you have provided most input to the former. In light of this could you please double check that all of your recordings there have been registered and linked here, as appropriate, given that I have closed the Issue in question? Feel free to edit the listing as you wish.

@kinow
Copy link
Member

kinow commented Mar 15, 2019

Edited to add link to #2483 next to the suite database text.

@kinow kinow transferred this issue from cylc/cylc-flow May 27, 2019
@oliver-sanders
Copy link
Member

Edit: updated for #26, #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Build system, Sphinx extensions, Deployment etc
Projects
None yet
Development

No branches or pull requests

3 participants