Skip to content

Commit 6b659e9

Browse files
committed
docs: serve documentation site from the apex domain
1 parent 6c0399c commit 6b659e9

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
with:
3131
github_token: ${{ secrets.GITHUB_TOKEN }}
3232
publish_dir: ./site
33-
cname: docs.pythonnative.com
33+
cname: pythonnative.com

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cd examples/hello-world && pn run android
5353
- Docstrings: Google style throughout. Ruff is configured with the Google
5454
convention (`pydocstyle.convention = "google"`) and enforces the `D` rule
5555
set on `src/pythonnative/`. See the
56-
[Documentation style guide](https://docs.pythonnative.com/meta/style-guide/)
56+
[Documentation style guide](https://pythonnative.com/meta/style-guide/)
5757
for examples and Markdown/grammar conventions.
5858

5959
Common commands:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
<a href="https://pypi.org/project/pythonnative/"><img src="https://img.shields.io/pypi/v/pythonnative" alt="PyPI Version" /></a>
1313
<a href="https://pypi.org/project/pythonnative/"><img src="https://img.shields.io/pypi/pyversions/pythonnative" alt="Python Versions" /></a>
1414
<a href="LICENSE"><img src="https://img.shields.io/pypi/l/pythonnative" alt="License: MIT" /></a>
15-
<a href="https://docs.pythonnative.com/"><img src="https://img.shields.io/website?url=https%3A%2F%2Fdocs.pythonnative.com&label=docs" alt="Docs" /></a>
15+
<a href="https://pythonnative.com/"><img src="https://img.shields.io/website?url=https%3A%2F%2Fpythonnative.com&label=docs" alt="Docs" /></a>
1616
</p>
1717

1818
<p align="center">
19-
<a href="https://docs.pythonnative.com/">Documentation</a> ·
20-
<a href="https://docs.pythonnative.com/getting-started/">Getting Started</a> ·
21-
<a href="https://docs.pythonnative.com/examples/">Examples</a> ·
19+
<a href="https://pythonnative.com/">Documentation</a> ·
20+
<a href="https://pythonnative.com/getting-started/">Getting Started</a> ·
21+
<a href="https://pythonnative.com/examples/">Examples</a> ·
2222
<a href="CONTRIBUTING.md">Contributing</a>
2323
</p>
2424

@@ -77,7 +77,7 @@ def App():
7777

7878
## Documentation
7979

80-
Visit [docs.pythonnative.com](https://docs.pythonnative.com/) for the full documentation, including getting started guides, platform-specific instructions for Android and iOS, API reference, and working examples.
80+
Visit [pythonnative.com](https://pythonnative.com/) for the full documentation, including getting started guides, platform-specific instructions for Android and iOS, API reference, and working examples.
8181

8282
## Contributing
8383

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site_name: PythonNative
22
site_description: Cross-platform native UI toolkit for Android and iOS
33
site_author: Owen Carey
4-
site_url: https://docs.pythonnative.com/
4+
site_url: https://pythonnative.com/
55
repo_url: https://github.com/pythonnative/pythonnative
66
repo_name: pythonnative/pythonnative
77
edit_uri: edit/main/docs/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pn = "pythonnative.cli.pn:main"
6666
Homepage = "https://github.com/pythonnative/pythonnative"
6767
Repository = "https://github.com/pythonnative/pythonnative"
6868
Issues = "https://github.com/pythonnative/pythonnative/issues"
69-
Documentation = "https://docs.pythonnative.com/"
69+
Documentation = "https://pythonnative.com/"
7070

7171

7272

src/pythonnative/project/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def render_default_toml(*, name: str, app_id: str, python_version: str = "3.11")
590590
"""
591591
display = name.replace("_", " ").replace("-", " ").strip().title() or name
592592
return f"""# PythonNative project configuration.
593-
# Docs: https://docs.pythonnative.com/guide/configuration/
593+
# Docs: https://pythonnative.com/guides/configuration/
594594
595595
[app]
596596
id = "{app_id}"
@@ -604,7 +604,7 @@ def render_default_toml(*, name: str, app_id: str, python_version: str = "3.11")
604604
605605
# Declare the device capabilities your app needs. A string becomes the
606606
# iOS permission prompt text; `true` uses a sensible default.
607-
# See: https://docs.pythonnative.com/guide/permissions/
607+
# See: https://pythonnative.com/guides/permissions/
608608
[permissions]
609609
# camera = "Scan receipts with your camera."
610610
# location_when_in_use = "Show nearby stores."

0 commit comments

Comments
 (0)