Skip to content

Commit

Permalink
docs: move changelog to docs/en and allow sphinx directives
Browse files Browse the repository at this point in the history
Now `tox -e docs` will also include the draft changelog for the
next version (locally only).

`CHANGELOG.rst` now only points to the changelog on READTHEDOCS so
sphinx diretives can be used.

Followup to pytest-dev#6272
  • Loading branch information
blueyed authored and vinaycalastry committed Dec 11, 2019
1 parent be29f2e commit 141624e
Show file tree
Hide file tree
Showing 10 changed files with 7,620 additions and 7,563 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -25,6 +25,7 @@ src/_pytest/_version.py

doc/*/_build
doc/*/.doctrees
doc/*/_changelog_towncrier_draft.rst
build/
dist/
*.egg-info
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -48,7 +48,7 @@ repos:
- id: rst
name: rst
entry: rst-lint --encoding utf-8
files: ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst|TIDELIFT.rst|changelog/.*)$
files: ^(HOWTORELEASE.rst|README.rst|TIDELIFT.rst)$
language: python
additional_dependencies: [pygments, restructuredtext_lint]
- id: changelogs-rst
Expand Down

0 comments on commit 141624e

Please sign in to comment.