-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Apply theme 'books' #514
Apply theme 'books' #514
Conversation
…re repo. WIP. - Temporarily include rst2myst/README.md in index.rst to get it to build. - Include results of initial myst2rst dry-run command to identify warnings and what needs to be fixed prior to running an actual conversion - Update conf.py to build docs from MyST syntax. - Update requirements.txt, adding myst-parser to build docs, removing alabaster theme used by advanced-python training (it actually does not use its `conf.py`), and sorting. - Add section in about_mastering about syntaxes used in documentation.
… recover Add TODOs for remaining tasks in this PR
gitignore the generated log file
Clean up and sort entries in rsync exclude files
…tion for actual run. Update results of dry-run
Add TODOs and more cleanup steps to README-convert.md
…structions for contributors)
intersphinx_mapping could be useful for references to doc.plone.org intersphinx_mapping would need some training for trainers and authors.
…aining into ksuess-theme-playground
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started a review, but realized that we duplicated each other's efforts in many places, so I paused my review. My PR #515 incorporated changes from #511 and #512, and duplicate many of your changes. I think that you should rebase your branch on master
after #515 is reviewed and merged to master
, or you can rebase your branch on myst-convert-all
now.
I will resume my review after #515 is reviewed, approved, and merged, and this branch is rebased on master
.
background-color: white; | ||
box-shadow: none; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of commenting out code, either delete it or explain why it is commented. I prefer the former.
@@ -1,135 +1,128 @@ | |||
:root { | |||
/* --pst-color-preformatted-background: 104, 1, 124, 0.753; */ | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete entirely. Commenting the style is a no-op, and should be removed.
/* display: block; */ | ||
} | ||
ul.search .title_training::before { | ||
content: ' – '; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need consistent formatting. For CSS I prefer 2 spaces for indentation.
// $(this).parent().children().not(".admonition-title").toggle(400); | ||
// $(this).parent().children(".admonition-title").toggleClass("open"); | ||
// }) | ||
// }); | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete, don't comment out, including the outer <script>
tags, because this becomes a no-op. Git history shows what used to exist, if we ever need to recover it.
you found the training team [playground](about/author_guide_playground). | ||
|
||
See foo for more info about bar. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this file?
What is a playground?
Is this covered in other files?
ReactJS | ||
A JavaScript library for building user interfaces | ||
|
||
::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is superseded by PR #515. After it is merged, and after @stevepiercy moves the global glossary to docs/glossary.md
, compare to see if anything was missed.
|
||
Diazo | ||
`Diazo theme engine guide <http://docs.diazo.org/en/latest/>`_ | ||
Diazo allows you to apply a theme contained in a static HTML web page to a dynamic website created using any server-side technology. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and all other .rst
files are removed in #515. You will need to rebase on master
, once that PR is merged.
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
] | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is obsolete and will be replaced with PR based on #515 |
See Sphinx "books" theme: https://sphinx-book-theme.readthedocs.io/en/latest/#
This needs
manual fixes for "books" theme
:::{admonition} Solution
:class: toggle -> :class: dropdown
and nice to have fixes