Register the plone-client-python httpexample builder from plone.restapi
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- Makefile
- スター
- 109
- フォーク
- 192
- 平均マージ
- 5時間 13分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plone/documentation のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
plone/documentation#2114 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
plone/documentation#2077 · コメント 1 件 ·
-
99 tag: sprint
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
plone/documentation#1336 · コメント 9 件 ·
-
Deploy the documentation site to an R2 bucket対応中かも @ericof が今日担当しました。 オープン
plone/documentation#2127 · 担当者 1 名 ·
-
Improve backend/vocabularies documentation再び着手できるかも @flexxy-07 が 28 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン31 needs: help 99 tag: good first issue
難易度 3/5 半日 初心者へのやさしさ 55/100
plone/documentation#2116 · コメント 2 件 ·