Skip to content

Commit 92c174e

Browse files
committed
Bugfix Readthedocs
1 parent 23f4c1f commit 92c174e

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Here is a list of important resources for contributors:
1111
- [Issue Tracker]
1212
- [Code of Conduct]
1313

14+
[mit license]: https://opensource.org/licenses/MIT
15+
[source code]: https://github.com/staticdev/human-readable
16+
[documentation]: https://human-readable.readthedocs.io/
17+
[issue tracker]: https://github.com/staticdev/human-readable/issues
18+
1419
## How to report a bug
1520

1621
Report bugs on the [Issue Tracker].
@@ -44,14 +49,17 @@ Install the package with development requirements:
4449
$ poetry install
4550
```
4651

47-
You can now run an interactive Python session,
48-
or the command-line interface:
52+
You can now run an interactive Python session:
4953

5054
```console
5155
$ poetry run python
52-
$ poetry run human-readable
56+
import human_readable
5357
```
5458

59+
[poetry]: https://python-poetry.org/
60+
[nox]: https://nox.thea.codes/
61+
[nox-poetry]: https://nox-poetry.readthedocs.io/
62+
5563
## How to test the project
5664

5765
Run the full test suite:
@@ -120,15 +128,9 @@ $ nox --session=pre-commit -- install
120128
It is recommended to open an issue before starting work on anything.
121129
This will allow a chance to talk it over with the owners and validate your approach.
122130

131+
[pull request]: https://github.com/staticdev/human-readable/pulls
132+
[pytest]: https://pytest.readthedocs.io/
133+
123134
<!-- github-only -->
124135

125136
[code of conduct]: CODE_OF_CONDUCT.md
126-
[documentation]: https://human-readable.readthedocs.io/
127-
[issue tracker]: https://github.com/staticdev/human-readable/issues
128-
[mit license]: https://opensource.org/licenses/MIT
129-
[nox]: https://nox.thea.codes/
130-
[nox-poetry]: https://nox-poetry.readthedocs.io/
131-
[poetry]: https://python-poetry.org/
132-
[pull request]: https://github.com/staticdev/human-readable/pulls
133-
[pytest]: https://pytest.readthedocs.io/
134-
[source code]: https://github.com/staticdev/human-readable

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You can install _Human Readable_ via [pip] from [PyPI]:
6565
$ pip install human-readable
6666
```
6767

68-
% basic-usage
68+
<!-- basic-usage -->
6969

7070
## Basic usage
7171

@@ -181,7 +181,7 @@ human_readable.scientific_notation(5781651000, precision=4)
181181
"5.7817 x 10⁹"
182182
```
183183

184-
% end-basic-usage
184+
<!-- end-basic-usage -->
185185

186186
Complete instructions can be found at [human-readable.readthedocs.io].
187187

docs/usage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Usage
22

3-
```{eval-rst}
4-
.. include:: ../README.md
5-
:start-after: basic-usage
6-
:end-before: end-basic-usage
7-
3+
```{include} ../README.md
4+
---
5+
start-after: <!-- basic-usage -->
6+
end-before: <!-- end-basic-usage -->
7+
---
88
```
99

1010
## Complete usage

0 commit comments

Comments
 (0)