File tree Expand file tree Collapse file tree 6 files changed +29
-8
lines changed Expand file tree Collapse file tree 6 files changed +29
-8
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,17 @@ jobs:
4545 with :
4646 python-version : ' 3.11'
4747
48+ # note: PPPR_TOKEN is not available on PRs sourced from forks, but the necessary
49+ # dependencies are also listed in docs.txt :)
4850 - name : install
4951 run : |
5052 pip install --upgrade pip
53+ pip install --extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ mkdocs-material mkdocstrings-python
5154 pip install -r requirements/docs.txt
52- pip install --extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ mkdocs-material mkdocstrings-python griffe-typedoc mkdocstrings-typescript
53- npm install
54- npm install -g typedoc
55+ # note -- we can use these in the future when mkdocstrings-typescript and griffe-typedoc beocome publicly available
56+ # pip install --extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ mkdocs-material mkdocstrings-python griffe-typedoc mkdocstrings-typescript
57+ # npm install
58+ # npm install -g typedoc
5559 env :
5660 PPPR_TOKEN : ${{ secrets.PPPR_TOKEN }}
5761
Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ install:
88 pip install -e $(path )
99 pre-commit install
1010
11+
12+ .PHONY : install-docs
13+ install-docs :
14+ pip install -r requirements/docs.txt
15+
16+ # note -- mkdocstrings-typescript and griffe-typedoc are not yet publicly available
17+ # but the following can be added above the pip install -r requirements/docs.txt line in the future
18+ # pip install mkdocstrings-python mkdocstrings-typescript griffe-typedoc
19+
1120.PHONY : update-lockfiles
1221update-lockfiles :
1322 @echo " Updating requirements files using pip-compile"
Original file line number Diff line number Diff line change 11# FastUI
22
3+ Find the documentation [ here] ( https://docs.pydantic.dev/fastui/ ) .
4+
35[ ![ CI] ( https://github.com/pydantic/FastUI/actions/workflows/ci.yml/badge.svg )] ( https://github.com/pydantic/FastUI/actions?query=event%3Apush+branch%3Amain+workflow%3ACI )
46[ ![ pypi] ( https://img.shields.io/pypi/v/fastui.svg )] ( https://pypi.python.org/pypi/fastui )
57[ ![ versions] ( https://img.shields.io/pypi/pyversions/fastui.svg )] ( https://github.com/pydantic/FastUI )
Original file line number Diff line number Diff line change 55
66python3 -V
77
8+ python3 -m pip install --extra-index-url https://pydantic:${PPPR_TOKEN} @pppr.pydantic.dev/simple/ mkdocs-material mkdocstrings-python
89python3 -m pip install -r ./requirements/docs.txt
9- pip install --extra-index-url https://pydantic:$PPPR_TOKEN @pppr.pydantic.dev/simple/ mkdocs-material mkdocstrings-python griffe-typedoc mkdocstrings-typescript
10- npm install
11- npm install -g typedoc
10+ # note -- we can use these in the future when mkdocstrings-typescript and griffe-typedoc beocome publicly available
11+ # python3 -m pip install --extra-index-url https://pydantic:[email protected] /simple/ mkdocs-material mkdocstrings-python griffe-typedoc mkdocstrings-typescript12+ # npm install
13+ # npm install -g typedoc
1214
1315python3 -m mkdocs build
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ def api_index() -> list[AnyComponent]:
1616 This site provides a demo of [FastUI](https://github.com/pydantic/FastUI), the code for the demo
1717is [here](https://github.com/pydantic/FastUI/tree/main/demo).
1818
19+ You can find the documentation for FastUI [here](https://docs.pydantic.dev/fastui/).
20+
1921The following components are demonstrated:
2022
2123* `Markdown` — that's me :-)
Original file line number Diff line number Diff line change 33!!! warning "🚧 Work in Progress"
44 This page is a work in progress.
55
6- ::: @pydantic/fastui
7- handler: typescript
6+ <!-- Note -- we will enable this in the future when mkdocstrings-typescript and griffe-typedoc
7+ Have publicly available options -->
8+ <!-- ::: @pydantic/fastui
9+ handler: typescript -->
You can’t perform that action at this time.
0 commit comments