Skip to content

Commit

Permalink
Archive Mastering Plone 5
Browse files Browse the repository at this point in the history
- Support SPHINXOPTS to allow suppression of warnings via command line. For example:

  `make SPHINXOPTS="-D suppress_warnings='misc.highlighting_failure'" clean html`
  • Loading branch information
stevepiercy committed Nov 30, 2024
1 parent b1a50eb commit 2a0001e
Show file tree
Hide file tree
Showing 87 changed files with 10 additions and 14,998 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Makefile for Sphinx documentation
#
.DEFAULT_GOAL = help
SHELL = bash

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS ?=
VALEOPTS ?=

SPHINXBUILD = "$(realpath venv/bin/sphinx-build)"
SPHINXAUTOBUILD = "$(realpath venv/bin/sphinx-autobuild)"
PAPER =
DOCS_DIR = ./docs/
BUILDDIR = ../_build
PAPER =
DOCS_DIR = ./docs/
BUILDDIR = ../_build

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
Expand All @@ -16,7 +19,6 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
VALEFILES := $(shell find $(DOCS_DIR) -type f -name "*.md" -print)
VALEOPTS ?=

# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
Expand Down Expand Up @@ -48,7 +50,7 @@ html: venv/bin/python ## Build html

.PHONY: livehtml
livehtml: venv/bin/python ## Rebuild Sphinx documentation on changes, with live-reload in the browser
cd "$(DOCS_DIR)" && $(SPHINXAUTOBUILD) \
cd "$(DOCS_DIR)" && ${SPHINXAUTOBUILD} \
--ignore "*.swp" \
-b html . "$(BUILDDIR)/html" $(SPHINXOPTS) $(O)

Expand Down
6 changes: 0 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ A collection of trainings developed and created by the Plone community.
:hidden: true
mastering-plone/index
mastering-plone-5/index
volto-customization/index
customizing-volto-light-theme/index
voltohandson/index
Expand Down Expand Up @@ -47,11 +46,6 @@ teaching/index

: Best practices of Plone development for both the backend and frontend.

{ref}`mastering-plone5-label`

: Mastering Plone 5 development training is the predecessor of the Plone 6 version.
It includes also Plone Classic UI topics including viewlets, views, portlets, and other customizations.

{doc}`testing/index`

: Best practices for testing Plone add-ons.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
139 changes: 0 additions & 139 deletions docs/mastering-plone-5/about_mastering.md

This file was deleted.

Loading

0 comments on commit 2a0001e

Please sign in to comment.