Skip to content

Commit 36407a3

Browse files
authored
Merge pull request #12 from ProperDocs/rename
Rename the project from "MkDocs" to "ProperDocs"
2 parents 2862536 + fdcc8cf commit 36407a3

File tree

287 files changed

+4154
-4158
lines changed

Some content is hidden

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

287 files changed

+4154
-4158
lines changed

.gitattributes

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
mkdocs/contrib/search/lunr-language/** linguist-vendored
2-
mkdocs/themes/mkdocs/js/** linguist-vendored
3-
mkdocs/themes/mkdocs/js/base.js linguist-vendored=false
4-
mkdocs/themes/mkdocs/css/** linguist-vendored
5-
mkdocs/themes/mkdocs/css/base.css linguist-vendored=false
6-
mkdocs/themes/readthedocs/js/** linguist-vendored
7-
mkdocs/themes/readthedocs/js/theme.js linguist-vendored=false
8-
mkdocs/themes/readthedocs/css/** linguist-vendored
9-
mkdocs/themes/readthedocs/css/theme_extra.css linguist-vendored=false
1+
properdocs/contrib/search/lunr-language/** linguist-vendored
2+
properdocs/themes/mkdocs/js/** linguist-vendored
3+
properdocs/themes/mkdocs/js/base.js linguist-vendored=false
4+
properdocs/themes/mkdocs/css/** linguist-vendored
5+
properdocs/themes/mkdocs/css/base.css linguist-vendored=false
6+
properdocs/themes/readthedocs/js/** linguist-vendored
7+
properdocs/themes/readthedocs/js/theme.js linguist-vendored=false
8+
properdocs/themes/readthedocs/css/** linguist-vendored
9+
properdocs/themes/readthedocs/css/theme_extra.css linguist-vendored=false
1010
docs/img/plugin-events.svg linguist-generated

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: Check packaged files
9999
shell: bash -e -x {0}
100100
run: |
101-
expected_wheel=(-emkdocs/{templates/sitemap.xml,config/base.py,py.typed,contrib/search/lunr-language/lunr.nl.js,themes/{mkdocs,readthedocs}/{base.html,locales/{de,es}/LC_MESSAGES/messages.mo}})
101+
expected_wheel=(-eproperdocs/{templates/sitemap.xml,config/base.py,py.typed,contrib/search/lunr-language/lunr.nl.js,themes/{mkdocs,readthedocs}/{base.html,locales/{de,es}/LC_MESSAGES/messages.mo}})
102102
expected_sdist=("${expected_wheel[@]}" -e{pyproject.toml,hatch_build.py})
103-
test "$(tar -ztf dist/mkdocs-*.tar.gz | grep -F "${expected_sdist[@]}" | tee /dev/stderr | wc -l)" -eq "${#expected_sdist[@]}"
104-
test "$(unzip -l dist/mkdocs-*any.whl | grep -F "${expected_wheel[@]}" | tee /dev/stderr | wc -l)" -eq "${#expected_wheel[@]}"
103+
test "$(tar -ztf dist/properdocs-*.tar.gz | grep -F "${expected_sdist[@]}" | tee /dev/stderr | wc -l)" -eq "${#expected_sdist[@]}"
104+
test "$(unzip -l dist/properdocs-*any.whl | grep -F "${expected_wheel[@]}" | tee /dev/stderr | wc -l)" -eq "${#expected_wheel[@]}"

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- name: Install dependencies
1818
run: pip install --no-deps -r requirements/requirements-docs.txt
1919
- name: Build site
20-
run: mkdocs build --strict
20+
run: properdocs build --strict

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ target/
6666
venv/
6767
ENV/
6868

69-
# MkDocs documentation
69+
# ProperDocs documentation
7070
site*/

.jshintignore

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
mkdocs/themes/**/js/jquery-**.min.js
2-
mkdocs/themes/mkdocs/js/highlight.pack.js
3-
mkdocs/themes/mkdocs/js/bootstrap.bundle.min.js
4-
mkdocs/themes/mkdocs/js/modernizr-**.min.js
5-
mkdocs/themes/readthedocs/js/theme.js
6-
mkdocs/themes/readthedocs/js/html5shiv.min.js
7-
mkdocs/contrib/search/templates/search/lunr.js
8-
mkdocs/contrib/search/lunr-language/lunr.**.js
9-
mkdocs/contrib/search/lunr-language/tinyseg.js
1+
properdocs/themes/**/js/jquery-**.min.js
2+
properdocs/themes/mkdocs/js/highlight.pack.js
3+
properdocs/themes/mkdocs/js/bootstrap.bundle.min.js
4+
properdocs/themes/mkdocs/js/modernizr-**.min.js
5+
properdocs/themes/readthedocs/js/theme.js
6+
properdocs/themes/readthedocs/js/html5shiv.min.js
7+
properdocs/contrib/search/templates/search/lunr.js
8+
properdocs/contrib/search/lunr-language/lunr.**.js
9+
properdocs/contrib/search/lunr-language/tinyseg.js

CONTRIBUTING.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Contributing to MkDocs
1+
# Contributing to ProperDocs
22

3-
An introduction to contributing to the MkDocs project.
3+
An introduction to contributing to the ProperDocs project.
44

5-
The MkDocs project welcomes contributions from developers and
5+
The ProperDocs project welcomes contributions from developers and
66
users in the open source community. Contributions can be made in a number of
77
ways, a few examples are:
88

@@ -11,12 +11,12 @@ ways, a few examples are:
1111
- Bug reports and patch reviews
1212

1313
For information about available communication channels please refer to the
14-
[README](https://github.com/mkdocs/mkdocs#readme) file in our
14+
[README](https://github.com/properdocs/properdocs#readme) file in our
1515
GitHub repository.
1616

1717
## Reporting an Issue
1818

19-
Please include as much detail as you can. Let us know your platform and MkDocs
19+
Please include as much detail as you can. Let us know your platform and ProperDocs
2020
version. If the problem is visual (for example a theme or design issue), please
2121
add a screenshot. If you get an error, please include the full error message and
2222
traceback.
@@ -34,19 +34,19 @@ It is particularly helpful if an issue report touches on all of these aspects:
3434
## Trying out the Development Version
3535

3636
If you want to just install and try out the latest development version of
37-
MkDocs (in case it already contains a fix for your issue),
37+
ProperDocs (in case it already contains a fix for your issue),
3838
you can do so with the following command. This can be useful if you
3939
want to provide feedback for a new feature or want to confirm if a bug you
4040
have encountered is fixed in the git master. It is **strongly** recommended
4141
that you do this within a [virtualenv].
4242

4343
```bash
44-
pip install git+https://github.com/mkdocs/mkdocs.git
44+
pip install git+https://github.com/properdocs/properdocs.git
4545
```
4646

4747
## Installing for Development
4848

49-
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].
5050

5151
## Installing Hatch
5252

@@ -56,7 +56,7 @@ So first, [install it][install Hatch]. Ideally in an isolated way with **`pipx i
5656

5757
## Running all checks
5858

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:
6060

6161
```bash
6262
hatch run all
@@ -68,7 +68,7 @@ All checks need to pass.
6868

6969
### Running tests
7070

71-
To run the test suite for MkDocs, run the following commands:
71+
To run the test suite for ProperDocs, run the following commands:
7272

7373
```bash
7474
hatch run test:test
@@ -81,7 +81,7 @@ will be verified by [GitHub Actions] when you submit a pull request.
8181

8282
### Python code style
8383

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`.
8585

8686
You can automatically check and format the code according to these tools with the following command:
8787

@@ -103,7 +103,7 @@ There are several other checks, such as spelling and JS style. To run all of the
103103
hatch run lint:check
104104
```
105105

106-
### Documentation of MkDocs itself
106+
### Documentation of ProperDocs itself
107107

108108
After making edits to files under the `docs/` dir, you can preview the site locally using the following command:
109109

@@ -125,7 +125,7 @@ If you add a new plugin to mkdocs.yml, you don't need to add it to any "requirem
125125
>
126126
> ```bash
127127
> .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.
129129
> ```
130130
131131
## Translating themes
@@ -134,7 +134,7 @@ To localize a theme to your favorite language, follow the guide on [Translating
134134
135135
## Submitting Pull Requests
136136
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
138138
open an issue first to get early feedback on the idea.
139139
140140
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.
148148
149149
### Submitting changes to the builtin themes
150150
151-
When installed with `i18n` support (`pip install 'mkdocs[i18n]'`), MkDocs allows
151+
When installed with `i18n` support (`pip install 'properdocs[i18n]'`), ProperDocs allows
152152
themes to support being translated into various languages (referred to as
153153
locales) if they respect [Jinja's i18n extension] by wrapping text placeholders
154154
with `{% trans %}` and `{% endtrans %}` tags.
@@ -159,8 +159,8 @@ updated by running the `extract_messages` command. To update the
159159
`pot` file for both built-in themes, run these commands:
160160
161161
```bash
162-
pybabel extract --project=MkDocs --copyright-holder=MkDocs --msgid-bugs-address='https://github.com/mkdocs/mkdocs/issues' --no-wrap --version="$(hatch version)" --mapping-file mkdocs/themes/babel.cfg --output-file mkdocs/themes/mkdocs/messages.pot mkdocs/themes/mkdocs
163-
pybabel extract --project=MkDocs --copyright-holder=MkDocs --msgid-bugs-address='https://github.com/mkdocs/mkdocs/issues' --no-wrap --version="$(hatch version)" --mapping-file mkdocs/themes/babel.cfg --output-file mkdocs/themes/readthedocs/messages.pot mkdocs/themes/readthedocs
162+
pybabel extract --project=ProperDocs --copyright-holder=ProperDocs --msgid-bugs-address='https://github.com/properdocs/properdocs/issues' --no-wrap --version="$(hatch version)" --mapping-file properdocs/themes/babel.cfg --output-file properdocs/themes/mkdocs/messages.pot properdocs/themes/mkdocs
163+
pybabel extract --project=ProperDocs --copyright-holder=ProperDocs --msgid-bugs-address='https://github.com/properdocs/properdocs/issues' --no-wrap --version="$(hatch version)" --mapping-file properdocs/themes/babel.cfg --output-file properdocs/themes/readthedocs/messages.pot properdocs/themes/readthedocs
164164
```
165165
166166
The updated `pot` file should be included in a PR with the updated template.
@@ -175,7 +175,7 @@ file so that everything is ready for translators to do their job.
175175
176176
## Code of Conduct
177177
178-
Everyone interacting in the MkDocs project's codebases, issue trackers, chat
178+
Everyone interacting in the ProperDocs project's codebases, issue trackers, chat
179179
rooms, and mailing lists is expected to follow the [PyPA Code of Conduct].
180180
181181
[virtualenv]: https://virtualenv.pypa.io/en/latest/user_guide.html
@@ -184,7 +184,7 @@ rooms, and mailing lists is expected to follow the [PyPA Code of Conduct].
184184
[installing `pipx`]: https://pypa.github.io/pipx/installation/
185185
[GitHub Actions]: https://docs.github.com/actions
186186
[PyPA Code of Conduct]: https://www.pypa.io/en/latest/code-of-conduct/
187-
[Translating Themes]: https://www.mkdocs.org/dev-guide/translations/
187+
[Translating Themes]: https://properdocs.org/dev-guide/translations/
188188
[Jinja's i18n extension]: https://jinja.palletsprojects.com/en/latest/extensions/#i18n-extension
189189
[Ruff]: https://docs.astral.sh/ruff/
190190
[Black]: https://black.readthedocs.io/

FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: mkdocs
1+
github: properdocs

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
# MkDocs
1+
# ProperDocs
22

33
> *Project documentation with Markdown*
44
55
[![PyPI Version][pypi-v-image]][pypi-v-link]
66
[![Build Status][GHAction-image]][GHAction-link]
77
[![Coverage Status][codecov-image]][codecov-link]
88

9-
MkDocs is a **fast**, **simple** and **downright gorgeous** static site
9+
ProperDocs is a **fast**, **simple** and **downright gorgeous** static site
1010
generator that's geared towards building project documentation. Documentation
1111
source files are written in Markdown, and configured with a single YAML
1212
configuration file. It is designed to be easy to use and can be extended with
1313
third-party themes, plugins, and Markdown extensions.
1414

15-
Please see the [Documentation][mkdocs] for an introductory tutorial and a full
15+
Please see the [Documentation][properdocs] for an introductory tutorial and a full
1616
user guide.
1717

1818
## Features
1919

2020
- Build static HTML files from Markdown files.
21-
- Use Plugins and Markdown Extensions to enhance MkDocs.
21+
- Use Plugins and Markdown Extensions to enhance ProperDocs.
2222
- Use the built-in themes, third party themes or create your own.
2323
- Publish your documentation anywhere that static files can be served.
2424
- Much more!
2525

2626
## Support
2727

28-
If you need help with MkDocs, do not hesitate to get in contact with us!
28+
If you need help with ProperDocs, do not hesitate to get in contact with us!
2929

3030
- For questions and high-level discussions, use **[Discussions]** on GitHub.
3131
- For small questions, a good alternative is the **[Chat room]** on
3232
Gitter/Matrix.
3333
- To report a bug or make a feature request, open an **[Issue]** on GitHub.
3434

3535
Please note that we may only provide
36-
support for problems/questions regarding core features of MkDocs. Any
36+
support for problems/questions regarding core features of ProperDocs. Any
3737
questions or bug reports about features of third-party themes, plugins,
3838
extensions or similar should be made to their respective projects.
3939
But, such questions are *not* banned from the [chat room].
@@ -42,38 +42,38 @@ Make sure to stick around to answer some questions as well!
4242

4343
## Links
4444

45-
- [Official Documentation][mkdocs]
45+
- [Official Documentation][properdocs]
4646
- [Latest Release Notes][release-notes]
4747
- [Catalog of third-party plugins, themes and recipes][catalog]
4848

49-
## Contributing to MkDocs
49+
## Contributing to ProperDocs
5050

51-
The MkDocs project welcomes, and depends on, contributions from developers and
51+
The ProperDocs project welcomes, and depends on, contributions from developers and
5252
users in the open source community. Please see the [Contributing Guide] for
5353
information on how you can help.
5454

5555
## Code of Conduct
5656

57-
Everyone interacting in the MkDocs project's codebases, issue trackers, and
57+
Everyone interacting in the ProperDocs project's codebases, issue trackers, and
5858
discussion forums is expected to follow the [PyPA Code of Conduct].
5959

6060
<!-- Badges -->
61-
[codecov-image]: https://codecov.io/github/mkdocs/mkdocs/coverage.svg?branch=master
62-
[codecov-link]: https://codecov.io/github/mkdocs/mkdocs?branch=master
63-
[pypi-v-image]: https://img.shields.io/pypi/v/mkdocs.svg
64-
[pypi-v-link]: https://pypi.org/project/mkdocs/
65-
[GHAction-image]: https://github.com/mkdocs/mkdocs/actions/workflows/ci.yml/badge.svg
66-
[GHAction-link]: https://github.com/mkdocs/mkdocs/actions/workflows/ci.yml
61+
[codecov-image]: https://codecov.io/github/properdocs/properdocs/coverage.svg?branch=master
62+
[codecov-link]: https://codecov.io/github/properdocs/properdocs?branch=master
63+
[pypi-v-image]: https://img.shields.io/pypi/v/properdocs.svg
64+
[pypi-v-link]: https://pypi.org/project/properdocs/
65+
[GHAction-image]: https://github.com/properdocs/properdocs/actions/workflows/ci.yml/badge.svg
66+
[GHAction-link]: https://github.com/properdocs/properdocs/actions/workflows/ci.yml
6767
<!-- Links -->
68-
[mkdocs]: https://www.mkdocs.org
69-
[Issue]: https://github.com/mkdocs/mkdocs/issues
70-
[Discussions]: https://github.com/mkdocs/mkdocs/discussions
68+
[properdocs]: https://properdocs.org
69+
[Issue]: https://github.com/properdocs/properdocs/issues
70+
[Discussions]: https://github.com/properdocs/properdocs/discussions
7171
[Chat room]: https://gitter.im/mkdocs/community
72-
[release-notes]: https://www.mkdocs.org/about/release-notes/
73-
[Contributing Guide]: https://www.mkdocs.org/about/contributing/
72+
[release-notes]: https://properdocs.org/about/release-notes/
73+
[Contributing Guide]: https://properdocs.org/about/contributing/
7474
[PyPA Code of Conduct]: https://www.pypa.io/en/latest/code-of-conduct/
75-
[catalog]: https://github.com/mkdocs/catalog
75+
[catalog]: https://github.com/properdocs/catalog
7676

7777
## License
7878

79-
[BSD-2-Clause](https://github.com/mkdocs/mkdocs/blob/master/LICENSE)
79+
[BSD-2-Clause](https://github.com/properdocs/properdocs/blob/master/LICENSE)

docs/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
www.mkdocs.org
1+
properdocs.org

0 commit comments

Comments
 (0)