Skip to content

Commit 3a95c0f

Browse files
authored
fix: docs after the refactor (#192)
1 parent 726ca7b commit 3a95c0f

File tree

165 files changed

+1220
-1194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+1220
-1194
lines changed

.readthedocs.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the OS, Python version and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.10"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
jobs:
18+
post_create_environment:
19+
# Install poetry
20+
# https://python-poetry.org/docs/#installing-manually
21+
- pip install poetry
22+
# Tell poetry to not use a virtual environment
23+
- poetry config virtualenvs.create false
24+
post_install:
25+
# Install dependencies with 'docs' dependency group
26+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
27+
- cd docs && poetry install && cd ..
28+
29+
# Build documentation in the "docs/" directory with Sphinx
30+
sphinx:
31+
configuration: docs/source/conf.py
32+
33+
# Optionally build your docs in additional formats such as PDF and ePub
34+
# formats:
35+
# - pdf
36+
# - epub
37+
38+
# Optional but recommended, declare the Python requirements required
39+
# to build your documentation
40+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
41+
# python:
42+
# install:
43+
# - requirements: docs/requirements.txt

docs/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sphinx-build source/ build

docs/clean.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rm -Rf ./source/**/*.rst

docs/docgen.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
sphinx-apidoc ../packages/polywrap-msgpack/polywrap_msgpack -o ./source/polywrap-msgpack -e
2+
sphinx-apidoc ../packages/polywrap-manifest/polywrap_manifest -o ./source/polywrap-manifest -e
3+
sphinx-apidoc ../packages/polywrap-core/polywrap_core -o ./source/polywrap-core -e
4+
sphinx-apidoc ../packages/polywrap-wasm/polywrap_wasm -o ./source/polywrap-wasm -e
5+
sphinx-apidoc ../packages/polywrap-plugin/polywrap_plugin -o ./source/polywrap-plugin -e
6+
sphinx-apidoc ../packages/polywrap-uri-resolvers/polywrap_uri_resolvers -o ./source/polywrap-uri-resolvers -e
7+
sphinx-apidoc ../packages/polywrap-client/polywrap_client -o ./source/polywrap-client -e
8+
sphinx-apidoc ../packages/polywrap-client-config-builder/polywrap_client_config_builder -o ./source/polywrap-client-config-builder -e

docs/poetry.lock

Lines changed: 136 additions & 361 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ name = "docs"
77
version = "0.1.0"
88
description = ""
99
authors = ["Niraj <niraj@polywrap.io>"]
10-
readme = "README.md"
1110

1211
[tool.poetry.dependencies]
1312
python = "^3.10"
@@ -22,5 +21,4 @@ polywrap-client-config-builder = { path = "../packages/polywrap-client-config-bu
2221

2322
[tool.poetry.group.dev.dependencies]
2423
sphinx = "^6.1.3"
25-
sphinx-rtd-theme = "^1.2.0"
26-
24+
sphinx-rtd-theme = "^1.2.0"

docs/source/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Welcome to polywrap-client's documentation!
77
===========================================
88

99
.. toctree::
10-
:maxdepth: 2
10+
:maxdepth: 1
1111
:caption: Contents:
1212

1313
polywrap-msgpack/modules.rst
@@ -20,7 +20,6 @@ Welcome to polywrap-client's documentation!
2020
polywrap-client-config-builder/modules.rst
2121

2222

23-
2423
Indices and tables
2524
==================
2625

docs/source/polywrap-core/polywrap_core.types.invoke_args.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
polywrap\_core.types.invoke\_options module
2+
===========================================
3+
4+
.. automodule:: polywrap_core.types.invoke_options
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/polywrap-core/polywrap_core.types.options.file_options.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)