Skip to content

Commit

Permalink
Merge pull request #515 from plone/myst-convert-all
Browse files Browse the repository at this point in the history
Convert all files from reST to MyST
  • Loading branch information
pbauer authored Sep 9, 2021
2 parents c4654d8 + 5f4b529 commit bc8b146
Show file tree
Hide file tree
Showing 693 changed files with 67,010 additions and 69,421 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ node_modules/
.python-version
package-lock.json
.vscode/settings.json
_static/custom.css
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

COMPILE_LESS = lesscpy _static/custom.less _static/custom.css

all: build

.PHONY: help
Expand Down Expand Up @@ -57,51 +59,60 @@ build: bin/pip

.PHONY: html
html:
${COMPILE_LESS}
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

.PHONY: manual
manual: *.rst
${COMPILE_LESS}
$(SPHINXBUILD) -b html -t manual . manual

.PHONY: presentation
presentation: *.rst
${COMPILE_LESS}
$(SPHINXBUILD) -b html -t presentation . $(BUILDDIR)/presentation

.PHONY: dirhtml
dirhtml:
${COMPILE_LESS}
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."

.PHONY: singlehtml
singlehtml:
${COMPILE_LESS}
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."

.PHONY: pickle
pickle:
${COMPILE_LESS}
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."

.PHONY: json
json:
${COMPILE_LESS}
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."

.PHONY: htmlhelp
htmlhelp:
${COMPILE_LESS}
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."

.PHONY: qthelp
qthelp:
${COMPILE_LESS}
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
Expand All @@ -112,6 +123,7 @@ qthelp:

.PHONY: devhelp
devhelp:
${COMPILE_LESS}
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
Expand All @@ -122,12 +134,14 @@ devhelp:

.PHONY: epub
epub:
${COMPILE_LESS}
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."

.PHONY: latex
latex:
${COMPILE_LESS}
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
Expand All @@ -136,6 +150,7 @@ latex:

.PHONY: latexpdf
latexpdf:
${COMPILE_LESS}
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
Expand Down
135 changes: 0 additions & 135 deletions _static/custom.css

This file was deleted.

Loading

0 comments on commit bc8b146

Please sign in to comment.