Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Some suggestions#25

Closed
waveform80 wants to merge 5 commits into
canonical:mainfrom
waveform80:suggest
Closed

Some suggestions#25
waveform80 wants to merge 5 commits into
canonical:mainfrom
waveform80:suggest

Conversation

@waveform80

Copy link
Copy Markdown
Member

Some suggestions for the reST documentation. Each commit is a separate suggestion; if any aren't desirable, I'm happy to rebase and remove them!

It's impossible to skip heading levels in reST (it's designed to avoid
this as several of its output formats cannot skip levels either, due to
recursive section structures).
reST permits heading underlines to be longer than the corresponding
title, which some authors find convenient (i.e. it's fine to just use a
full line of "=")

https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#sections
The general style guide at https://docs.ubuntu.com/styleguide/en advises
under the admonitions section that only the "warning" and "information"
admonition callouts are permitted. Given "information" doesn't exist in
reST, "note" is probably the next best thing. Changed "caution" to
"warning" and removed "tip" and "important".
Using * as the image extension allows sphinx to pick the "best" image
format for the output it's producing. For example, PNG for web, but
embedded PS for PDF.
@minaelee

Copy link
Copy Markdown

Hello! Thanks for this contribution. I'm afraid that this repository is being archived, and style-guide.rst has been moved to https://github.com/canonical/sphinx-docs-starter-pack/blob/main/docs/reference/style-guide.rst before your PR could be reviewed and merged.

If you wish to submit this PR to that repository, it would be appreciated. Regardless, thanks for taking the time to make these suggestions.

@minaelee minaelee closed this Apr 14, 2025
@waveform80 waveform80 mentioned this pull request Apr 14, 2025
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants