You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that for development you can just use [Hatch] directly as described below. If you wish to install a local clone of MkDocs anyway, you can run `pip install --editable .`. It is **strongly** recommended that you do this within a [virtualenv].
49
+
Note that for development you can just use [Hatch] directly as described below. If you wish to install a local clone of ProperDocs anyway, you can run `pip install --editable .`. It is **strongly** recommended that you do this within a [virtualenv].
50
50
51
51
## Installing Hatch
52
52
@@ -56,7 +56,7 @@ So first, [install it][install Hatch]. Ideally in an isolated way with **`pipx i
56
56
57
57
## Running all checks
58
58
59
-
To run **all** checks that are required for MkDocs, just run the following command in the cloned MkDocs repository:
59
+
To run **all** checks that are required for ProperDocs, just run the following command in the cloned ProperDocs repository:
60
60
61
61
```bash
62
62
hatch run all
@@ -68,7 +68,7 @@ All checks need to pass.
68
68
69
69
### Running tests
70
70
71
-
To run the test suite for MkDocs, run the following commands:
71
+
To run the test suite for ProperDocs, run the following commands:
72
72
73
73
```bash
74
74
hatch run test:test
@@ -81,7 +81,7 @@ will be verified by [GitHub Actions] when you submit a pull request.
81
81
82
82
### Python code style
83
83
84
-
Python code within MkDocs' code base is formatted using [Black] and [Isort] and lint-checked using [Ruff], all of which are configured in `pyproject.toml`.
84
+
Python code within ProperDocs' code base is formatted using [Black] and [Isort] and lint-checked using [Ruff], all of which are configured in `pyproject.toml`.
85
85
86
86
You can automatically check and format the code according to these tools with the following command:
87
87
@@ -103,7 +103,7 @@ There are several other checks, such as spelling and JS style. To run all of the
103
103
hatch run lint:check
104
104
```
105
105
106
-
### Documentation of MkDocs itself
106
+
### Documentation of ProperDocs itself
107
107
108
108
After making edits to files under the `docs/` dir, you can preview the site locally using the following command:
109
109
@@ -125,7 +125,7 @@ If you add a new plugin to mkdocs.yml, you don't need to add it to any "requirem
125
125
>
126
126
> ```bash
127
127
> .venv/bin/pip install -r requirements/requirements-docs.txt # Exact versions of dependencies.
128
-
> .venv/bin/pip install -r $(mkdocs get-deps)# Latest versions of all dependencies.
128
+
> .venv/bin/pip install -r $(properdocs get-deps)# Latest versions of all dependencies.
129
129
>```
130
130
131
131
## Translating themes
@@ -134,7 +134,7 @@ To localize a theme to your favorite language, follow the guide on [Translating
134
134
135
135
## Submitting Pull Requests
136
136
137
-
If you're considering a large code contribution to MkDocs, please prefer to
137
+
If you're considering a large code contribution to ProperDocs, please prefer to
138
138
open an issue first to get early feedback on the idea.
139
139
140
140
Once you think the code is ready to be reviewed, push
@@ -148,7 +148,7 @@ Do *not* add to *release-notes.md*, this will be written later.
148
148
149
149
### Submitting changes to the builtin themes
150
150
151
-
When installed with `i18n` support (`pip install 'mkdocs[i18n]'`), MkDocs allows
151
+
When installed with `i18n` support (`pip install 'properdocs[i18n]'`), ProperDocs allows
152
152
themes to support being translated into various languages (referred to as
153
153
locales) if they respect [Jinja's i18n extension] by wrapping text placeholders
154
154
with `{% trans %}` and `{% endtrans %}` tags.
@@ -159,8 +159,8 @@ updated by running the `extract_messages` command. To update the
159
159
`pot` file for both built-in themes, run these commands:
0 commit comments