-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds sphinx-based developer documentation to the bridge. Similar to pulumi/pulumi#16953 Can be previewed here: https://pulumi-terraform-bridge.readthedocs.io/en/latest/docs/README.html
- Loading branch information
1 parent
2af31c4
commit e299594
Showing
23 changed files
with
358 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# .readthedocs.yaml | ||
# | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
version: 2 | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.12" | ||
commands: | ||
- mkdir -p $READTHEDOCS_OUTPUT/html | ||
- pip install -r docs/requirements.txt | ||
- python -m sphinx -T -c docs/sphinx -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html | ||
- cp docs/sphinx/index.html.template $READTHEDOCS_OUTPUT/html/index.html | ||
|
||
sphinx: | ||
configuration: docs/sphinx/conf.py | ||
|
||
formats: | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.ensure.phony | ||
_build | ||
venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.PHONY: build watch | ||
|
||
ensure:: .ensure.phony | ||
.ensure.phony: requirements.txt | ||
python -m venv venv | ||
. venv/*/activate && python -m pip install --upgrade pip setuptools wheel | ||
. venv/*/activate && python -m pip install -r requirements.txt | ||
@touch .ensure.phony | ||
|
||
build: ensure | ||
. venv/*/activate && sphinx-build \ | ||
-c sphinx \ | ||
-b html \ | ||
.. \ | ||
_build | ||
|
||
watch: ensure | ||
. venv/*/activate && sphinx-autobuild \ | ||
-c sphinx \ | ||
-b html \ | ||
--ignore "*~" \ | ||
--ignore "*.swp" \ | ||
--ignore ".direnv/*" \ | ||
--ignore "*/.git/*" \ | ||
--ignore "*/.idea/*" \ | ||
--ignore "*/.direnv/*" \ | ||
--ignore "_build/*" \ | ||
.. \ | ||
_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Pulumi Terraform Bridge Developer Documentation | ||
|
||
Welcome to the Pulumi Terraform Bridge developer documentation! This site is designed to provide | ||
complete documentation for maintainers of and contributors to the Terraform Bridge as well as authors of Bridged Providers. | ||
|
||
Some topics of interest to provider maintainers might be: | ||
|
||
- {doc}`guides/new-provider` | ||
- {doc}`guides/muxwith` | ||
- {doc}`guides/upgrade-sdk-to-mux` | ||
- {doc}`guides/auto-aliasing` | ||
- {doc}`guides/automatic-token-mapping` | ||
- {doc}`guides/docs-edits` | ||
|
||
|
||
Some more advanced topics might be of interest to contributors: | ||
|
||
- {doc}`guides/testing` | ||
- {doc}`guides/sets` | ||
- {doc}`guides/metadata` | ||
|
||
|
||
Please refer to the main Pulumi {doc}`pulumi:docs/documentation` for information on how to work with the developer docs. The setup for the Pulumi Terraform Bridge developer docs is identical to the setup for the Pulumi developer docs. | ||
|
||
:::{toctree} | ||
:maxdepth: 2 | ||
:titlesonly: | ||
|
||
self | ||
guides/README | ||
Pulumi Developer Documentation <https://pulumi-developer-docs.readthedocs.io/latest/docs/README.html> | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Guides | ||
|
||
:::{toctree} | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
/docs/guides/auto-aliasing | ||
/docs/guides/autofill | ||
/docs/guides/automatic-token-mapping | ||
/docs/guides/docs-edits | ||
/docs/guides/metadata | ||
/docs/guides/muxwith | ||
/docs/guides/new-provider | ||
/docs/guides/overlays | ||
/docs/guides/resource-ids | ||
/docs/guides/sets | ||
/docs/guides/testing | ||
/docs/guides/upgrade-sdk-to-mux | ||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
accessible-pygments==0.0.5 | ||
alabaster==0.7.16 | ||
anyio==4.4.0 | ||
Babel==2.15.0 | ||
beautifulsoup4==4.12.3 | ||
certifi==2024.7.4 | ||
charset-normalizer==3.3.2 | ||
click==8.1.7 | ||
colorama==0.4.6 | ||
commonmark==0.9.1 | ||
docutils==0.20.1 | ||
h11==0.14.0 | ||
idna==3.7 | ||
imagesize==1.4.1 | ||
Jinja2==3.1.4 | ||
markdown-it-py==3.0.0 | ||
MarkupSafe==2.1.5 | ||
mdit-py-plugins==0.4.1 | ||
mdurl==0.1.2 | ||
myst-parser==3.0.1 | ||
packaging==24.1 | ||
pydata-sphinx-theme==0.15.4 | ||
Pygments==2.18.0 | ||
PyYAML==6.0.1 | ||
recommonmark==0.7.1 | ||
requests==2.32.3 | ||
sniffio==1.3.1 | ||
snowballstemmer==2.2.0 | ||
soupsieve==2.5 | ||
Sphinx==7.4.7 | ||
sphinx-autobuild==2024.4.16 | ||
sphinx-book-theme==1.1.3 | ||
sphinx-tabs==3.4.5 | ||
sphinxcontrib-applehelp==1.0.8 | ||
sphinxcontrib-devhelp==1.0.6 | ||
sphinxcontrib-htmlhelp==2.0.6 | ||
sphinxcontrib-jquery==4.1 | ||
sphinxcontrib-jsmath==1.0.1 | ||
sphinxcontrib-mermaid==0.9.2 | ||
sphinxcontrib-programoutput==0.17 | ||
sphinxcontrib-qthelp==1.0.8 | ||
sphinxcontrib-serializinghtml==1.1.10 | ||
starlette==0.38.0 | ||
typing_extensions==4.12.2 | ||
urllib3==2.2.2 | ||
uvicorn==0.30.3 | ||
watchfiles==0.22.0 | ||
websockets==12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.bd-container .bd-sidebar-primary div#rtd-footer-container { | ||
margin-bottom: 0px; | ||
margin-top: 0px; | ||
} |
Oops, something went wrong.