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

DOC: A few documentation fix-ups #569

Merged
merged 5 commits into from
May 11, 2020

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented May 11, 2020

A few fixes to documentation from another read-through to catch up with all the exciting features. All very minor text/formatting changes, though the change in d46d7d9 warrants a closer look:

The main issue there is that a literal block (with no language specifier/info string) in content/citations.md is using Python syntax highlighting, i.e. this:

```
(labels-and-refs)=
## Labels and cross-references
```

Renders with Python syntax highlighting

I would've expected the fenced section to have no syntax highlighting at all - in fact, this is the case for some of the fenced sections demonstrating the {cite} role further up in the same document. I'm not sure whether this behavior is unexpected, but it did surprise me.

rossbar added 5 commits May 11, 2020 14:12
Add missing link reference.
Section title in text (used as an example) was slightly out of sync with the
actual section title.
Rendered cell used Python syntax highlighting by default, rather than
a pure literal-block with no syntax highlighting.
The pdf-building docs use a \{content\} directive to list section
headings within the document to highlight two different ways of
building pdfs. Change depth from (1) to (2) so that the relevant
headings are shown.

Alternatively, it might be better to replace the content directive
entirely as it adds a title and the doc title, neither of which is
necessary in this case.
@choldgraf
Copy link
Collaborator

This all looks good to me - is it ready for a merge? Thanks for the improvements!

@rossbar
Copy link
Contributor Author

rossbar commented May 11, 2020

Yup, ready for merge! The PR description highlights something that may or may not be an issue with the parsing of a code block, but there's nothing else actionable related to that in this PR.

@choldgraf choldgraf merged commit bc0b865 into jupyter-book:master May 11, 2020
@rossbar rossbar deleted the doc/readthrough branch May 13, 2020 01:47
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.

2 participants