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

Tutorials: Improve guidance within article header sections #64

Merged
merged 4 commits into from
Mar 14, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Mar 12, 2024

What's Inside

  • Introductory explainers / What's inside

    To give a better overview about the actual features used within the
    tutorial(s).

  • Guidance and Layout

    In order not to use too much vertical space for the header
    information, use a two-column micro layout where applicable.

    For a better visual appearance where enumerating the tables' columns
    in detail, use field lists [1,2].

[1] https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists
[2] https://myst-parser.readthedocs.io/en/latest/syntax/typography.html#field-lists

Preview

https://crate-cloud--64.org.readthedocs.build/en/64/tutorials/

Highlights

Demonstrating how even micro layouts using new Sphinx design features, other applications of less popular Sphinx baseline features, and tuning down verbatim formatting, can make a significant difference on matters of reader guidance and overall appearance, for people who like it.

Trivia

Other than the main changes outlined above, the patch also:

  • Describes SQL as the most popular query language for database management.
  • Replaces time-series with time series, like others are also using it.

Comment on lines +59 to +63
:ts: Timestamp when each reading was taken.
:device_id: Identifier of the device.
:battery: Object containing battery level, status, and temperature.
:cpu: Object containing average CPU loads over the last 1, 5, and 15 minutes.
:memory: Object containing information about the device's free and used memory.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funny how battery is colored red?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea, is it some keyword by chance?

- Introductory explainers / What's inside

  To give a better overview about the actual features used within the
  tutorial.

- Guidance and layout

  In order not to use too much vertical space for the header
  information, use a two-column micro layout where applicable.

  For a better visual appearance where enumerating the tables' columns
  in detail, use field lists [1,2].

[1] https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists
[2] https://myst-parser.readthedocs.io/en/latest/syntax/typography.html#field-lists
HTTPSConnectionPool(host='azure.microsoft.com', port=443):
Read timed out. (read timeout=5)
HTTPSConnectionPool(host='hub.docker.com', port=443):
Read timed out. (read timeout=5)
@amotl amotl merged commit 235a85d into main Mar 14, 2024
3 checks passed
@amotl amotl deleted the amo/tutorials-guidance branch March 14, 2024 21:13
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 this pull request may close these issues.

3 participants