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

Apply theme 'books' #514

Closed
wants to merge 68 commits into from
Closed

Apply theme 'books' #514

wants to merge 68 commits into from

Conversation

ksuess
Copy link
Member

@ksuess ksuess commented Sep 2, 2021

See Sphinx "books" theme: https://sphinx-book-theme.readthedocs.io/en/latest/#

This needs

manual fixes for "books" theme

  • collapsed exercise solutions
    :::{admonition} Solution
    :class: toggle -> :class: dropdown
    • :linenos: true -> :linenos:

and nice to have fixes

ksuess and others added 30 commits August 28, 2021 17:09
…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
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
@ksuess ksuess added this to the Relaunch milestone Sep 2, 2021
@stevepiercy stevepiercy mentioned this pull request Sep 3, 2021
37 tasks
Copy link
Contributor

@stevepiercy stevepiercy left a 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;
}

Copy link
Contributor

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; */
}
Copy link
Contributor

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: ' – ';
Copy link
Contributor

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>
Copy link
Contributor

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.

Copy link
Contributor

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

:::
Copy link
Contributor

@stevepiercy stevepiercy Sep 4, 2021

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.
Copy link
Contributor

@stevepiercy stevepiercy Sep 4, 2021

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)
Copy link
Contributor

@stevepiercy stevepiercy Sep 4, 2021

Choose a reason for hiding this comment

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

This and all other children Makefiles are removed in #515.

You will need to rebase your branch on master after #515 is merged.

]



Copy link
Contributor

@stevepiercy stevepiercy Sep 4, 2021

Choose a reason for hiding this comment

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

This and all other children conf.pys are removed in #515

You will need to rebase your branch on master after #515 is merged.

@ksuess
Copy link
Member Author

ksuess commented Sep 4, 2021

This PR is obsolete and will be replaced with PR based on #515

@ksuess ksuess closed this Sep 4, 2021
@ksuess ksuess deleted the ksuess-theme-playground branch September 10, 2021 16:03
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