Register the plone-client-python httpexample builder from plone.restapi
Evaluación
Este issue todavía no se ha evaluado.
Descripción
plone/plone.restapi#2098 adds a plone-client tab to every request example of the plone.restapi documentation. The tab comes from a custom sphinxcontrib-httpexample builder that plone.restapi registers in its own docs/source/conf.py; this repository builds the same pages with its own docs/conf.py, which does not know the builder.
sphinxcontrib-httpexample rejects a builder name that is not registered, so once the submodules/plone.restapi pointer moves past that change, every page with an http:example directive fails to build here.
Register the builder in docs/conf.py before (or together with) that submodule bump:
sys.path.insert(0, os.path.abspath("plone.restapi/docs/source"))
from plone_client_python import build_plone_client_python
from sphinxcontrib.httpexample import register_builder
register_builder(
"plone-client-python",
build_plone_client_python,
"python",
"plone-client",
)
docs/plone.restapi is the symlink to the submodule that make docs/plone.restapi creates, so the path resolves in local builds and on Read the Docs alike.
plone/plone.restapi#2064 (@plone/client tab) will need the same treatment for its builder.
- Lenguaje dominante
- Makefile
- Estrellas
- 109
- Forks
- 192
- Merge medio
- 5 h 13 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de plone/documentation
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
plone/documentation#2114 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
plone/documentation#2077 · 1 comentario ·
-
99 tag: sprint
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
plone/documentation#1336 · 9 comentarios ·
-
Deploy the documentation site to an R2 bucketPosiblemente ocupada @ericof la tomó hoy. Abierto
plone/documentation#2127 · 1 asignado ·
-
Improve backend/vocabularies documentationQuizá libre de nuevo @flexxy-07 la tomó hace 28 días y no hay ningún pull request abierto. Abierto31 needs: help 99 tag: good first issue
Dificultad 3/5 Medio día Aptitud para principiantes 55/100
plone/documentation#2116 · 2 comentarios ·