Skip to content

Commit b8d6244

Browse files
committed
v1.0.1-post1
1 parent e416800 commit b8d6244

File tree

8 files changed

+38
-19
lines changed

8 files changed

+38
-19
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [unreleased]
44

5+
## [1.0.1-post1]
6+
7+
- Migrated documentation to Read the Docs.
8+
9+
- Moved repository to [sphinx-contrib](https://github.com/sphinx-contrib) organization.
10+
511
## [1.0.1]
612

713
- Fix parsing of inline code in Bison grammars.
@@ -16,7 +22,8 @@
1622

1723
- Initial release.
1824

19-
[unreleased]: https://github.com/taminomara/sphinx-syntax/compare/v1.0.1...HEAD
25+
[unreleased]: https://github.com/sphinx-contrib/sphinx-syntax/compare/v1.0.1-post1...HEAD
26+
[1.0.1-post1]: https://github.com/sphinx-contrib/sphinx-syntax/compare/v1.0.1...v1.0.1-post1
2027
[1.0.1]: https://github.com/taminomara/sphinx-syntax/compare/v1.0.0-post1...v1.0.1
2128
[1.0.0-post1]: https://github.com/taminomara/sphinx-syntax/compare/v1.0.0...v1.0.0-post1
2229
[1.0.0]: https://github.com/taminomara/sphinx-syntax/releases/tag/v1.0.0

CONTRIBUTING.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
## Set up your environment
44

5-
1. Check out the repo:
6-
7-
```shell
8-
git clone [email protected]:taminomara/sphinx-syntax.git
9-
```
5+
1. Clone the repository.
106

117
2. Create a virtual environment with python `3.12` or newer.
128

@@ -45,3 +41,19 @@ Just run `sphinx` as usual, nothing special is required:
4541
cd docs/
4642
make html
4743
```
44+
45+
## Release
46+
47+
1. Update `changelog.md`. Make sure to update links at the end of the file.
48+
49+
Changelog *must* have a section for the new release, otherwise the build
50+
will fail.
51+
52+
2. Push a git tag. You'll need a repository admin role to do so.
53+
54+
All tags should start with prefix `v`, and follow semantic versioning guidelines.
55+
This, among other things, means that tags for beta-, post-, etc. releases
56+
should have form `v1.0.0-beta0` instead of Python's `v1.0.0b0`.
57+
58+
3. From here, release happens automatically. PyPi package will be uploaded from
59+
CI job, and documentation will be updated by Read the Docs build.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Features:
1111

1212
## Resources
1313

14-
- [Documentation](https://taminomara.github.io/sphinx-syntax/)
15-
- [Quickstart](https://taminomara.github.io/sphinx-syntax/quickstart)
16-
- [Example output](https://taminomara.github.io/sphinx-syntax/example-output)
14+
- [Documentation](https://sphinx-syntax.readthedocs.io/en/stable/)
15+
- [Quickstart](https://sphinx-syntax.readthedocs.io/en/stable/quickstart.html)
16+
- [Example output](https://sphinx-syntax.readthedocs.io/en/stable/example-output.html)
1717

1818
## Requirements
1919

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
default_role = "py:obj"
2727
intersphinx_mapping = {
2828
"python": ("https://docs.python.org/3", None),
29-
"syntax_diagrams": ("https://taminomara.github.io/syntax-diagrams", None),
29+
"syntax_diagrams": ("https://syntax-diagrams.readthedocs.io/en/stable/", None),
3030
}
3131
autodoc_member_order = "bysource"
3232
nitpick_ignore_regex = [(r"py:class", r".*\.T")]
@@ -38,7 +38,7 @@
3838
html_static_path = ["_static"]
3939
html_extra_path = ["_extra/robots.txt"]
4040
html_theme_options = {
41-
"source_repository": "https://github.com/taminomara/sphinx-syntax",
41+
"source_repository": "https://github.com/sphinx-contribs/sphinx-syntax",
4242
"source_branch": "main",
4343
"source_directory": "docs/source",
4444
}

docs/source/directives.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ Diagrams
186186
for the `syntax-diagrams`__ library. You can also use
187187
`an online diagram editor`__.
188188

189-
__ https://taminomara.github.io/syntax-diagrams/describe.html
189+
__ https://syntax-diagrams.readthedocs.io/en/stable/describe.html
190190

191-
__ https://taminomara.github.io/syntax-diagrams/try
191+
__ https://syntax-diagrams.readthedocs.io/en/stable/try
192192

193193
**Example:**
194194

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ Features:
3838
:hidden:
3939
:caption: Links
4040

41-
GitHub <https://github.com/taminomara/sphinx-syntax/>
41+
GitHub <https://github.com/sphinx-contrib/sphinx-syntax/>

docs/source/quickstart.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ using YAML__ format, its structure is detailed in documentation for the
103103

104104
__ https://en.wikipedia.org/wiki/YAML
105105

106-
__ https://taminomara.github.io/syntax-diagrams/describe.html
106+
__ https://syntax-diagrams.readthedocs.io/en/stable/describe.html
107107

108-
__ https://taminomara.github.io/syntax-diagrams/try
108+
__ https://syntax-diagrams.readthedocs.io/en/stable/try
109109

110110
.. code-block:: rst
111111

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ doc = [
5656

5757
[project.urls]
5858
Documentation = "https://sphinx-syntax.readthedocs.io/en/stable/"
59-
Issues = "https://github.com/taminomara/sphinx-syntax/issues"
60-
Source = "https://github.com/taminomara/sphinx-syntax/"
61-
Changelog = "https://github.com/taminomara/sphinx-syntax/blob/main/CHANGELOG.md"
59+
Issues = "https://github.com/sphinx-contrib/sphinx-syntax/issues"
60+
Source = "https://github.com/sphinx-contrib/sphinx-syntax/"
61+
Changelog = "https://github.com/sphinx-contrib/sphinx-syntax/blob/main/CHANGELOG.md"
6262

6363

6464
[build-system]

0 commit comments

Comments
 (0)