Skip to content

Commit ae7383b

Browse files
authored
Merge pull request #264 from larsoner/doc
MAINT: Add release notes and bump version
2 parents 4617807 + 0499280 commit ae7383b

File tree

4 files changed

+81
-1
lines changed

4 files changed

+81
-1
lines changed

doc/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ help:
4545
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
4646
@echo " linkcheck to check all external links for integrity"
4747
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
48+
@echo " show to show the generated HTML"
4849

4950
clean:
5051
-rm -rf $(BUILDDIR)/*
@@ -182,3 +183,6 @@ pseudoxml:
182183
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
183184
@echo
184185
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
186+
187+
show:
188+
@python -c "import webbrowser; webbrowser.open_new_tab('file://$(PWD)/$(BUILDDIR)/html/index.html')"

doc/index.rst

+3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ Documentation
1919
=============
2020

2121
.. toctree::
22+
:maxdepth: 2
23+
2224
install
25+
release_notes
2326
format
2427
example
2528
validation

doc/release_notes.rst

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
Release notes
2+
=============
3+
4+
.. roughly following https://sphinx-gallery.github.io/dev/maintainers.html,
5+
.. 1.0.0 notes were generated by:
6+
.. 1. tagging PRs as enhancement/bug/removed
7+
.. 2. $ github_changelog_generator -u numpy -p numpydoc --since-tag=v0.9.2
8+
.. 3. $ pandoc CHANGELOG.md --wrap=none -o release_notes.rst
9+
.. 4. adding a manual addition (CSS note), tweaking heading levels, adding TOC
10+
11+
.. contents:: Page contents
12+
:local:
13+
:depth: 2
14+
15+
.. note::
16+
17+
For release notes (sparsely) kept prior to 1.0.0, look at the `releases page
18+
on GitHub <https://github.com/numpy/numpydoc/releases>`__.
19+
20+
1.0.0
21+
-----
22+
23+
**Implemented enhancements:**
24+
25+
- ENH: Add args and kwargs to example `#258 <https://github.com/numpy/numpydoc/pull/258>`__ (`larsoner <https://github.com/larsoner>`__)
26+
- MAINT,STY: Upgrade to bionic, and change style similar to NumPy `#253 <https://github.com/numpy/numpydoc/pull/253>`__ (`mwtoews <https://github.com/mwtoews>`__)
27+
- Delay import of Sphinx `#248 <https://github.com/numpy/numpydoc/pull/248>`__ (`cgohlke <https://github.com/cgohlke>`__)
28+
- Adding –validate option \__main_\_ and run new validation `#240 <https://github.com/numpy/numpydoc/pull/240>`__ (`datapythonista <https://github.com/datapythonista>`__)
29+
- Add docstring validation script (from pandas) `#238 <https://github.com/numpy/numpydoc/pull/238>`__ (`datapythonista <https://github.com/datapythonista>`__)
30+
- ENH: Test full output and coverage `#230 <https://github.com/numpy/numpydoc/pull/230>`__ (`larsoner <https://github.com/larsoner>`__)
31+
- DOC: Add description for blank lines after the docstring. `#229 <https://github.com/numpy/numpydoc/pull/229>`__ (`bingyao <https://github.com/bingyao>`__)
32+
33+
Fixed bugs
34+
~~~~~~~~~~
35+
36+
- References outside function `#214 <https://github.com/numpy/numpydoc/issues/214>`__
37+
- FIX: Get doc of actual class in test `#262 <https://github.com/numpy/numpydoc/pull/262>`__ (`larsoner <https://github.com/larsoner>`__)
38+
- TST: Add inherited method `#260 <https://github.com/numpy/numpydoc/pull/260>`__ (`larsoner <https://github.com/larsoner>`__)
39+
- Fixes references outside function (#214) `#259 <https://github.com/numpy/numpydoc/pull/259>`__ (`Hoxbro <https://github.com/Hoxbro>`__)
40+
- Disable escaping “\*” on signature `#256 <https://github.com/numpy/numpydoc/pull/256>`__ (`tk0miya <https://github.com/tk0miya>`__)
41+
- MAINT: clean-up unused objects `#254 <https://github.com/numpy/numpydoc/pull/254>`__ (`mwtoews <https://github.com/mwtoews>`__)
42+
- STY: Reword first lines of example.py docstrings `#246 <https://github.com/numpy/numpydoc/pull/246>`__ (`justinludwig <https://github.com/justinludwig>`__)
43+
- DOC: Fixed three formatting issues in docs `#245 <https://github.com/numpy/numpydoc/pull/245>`__ (`rossbar <https://github.com/rossbar>`__)
44+
- STY Minor style improvements to doc/example.py to pass validation `#243 <https://github.com/numpy/numpydoc/pull/243>`__ (`rth <https://github.com/rth>`__)
45+
- BUG: Allow no . at end if indented `#239 <https://github.com/numpy/numpydoc/pull/239>`__ (`larsoner <https://github.com/larsoner>`__)
46+
- DOC: Update links and code checkers info in format.rst `#228 <https://github.com/numpy/numpydoc/pull/228>`__ (`bingyao <https://github.com/bingyao>`__)
47+
- DOC: Update links and info in conf.py. `#227 <https://github.com/numpy/numpydoc/pull/227>`__ (`bingyao <https://github.com/bingyao>`__)
48+
- BUG: Fix full rebuilds `#226 <https://github.com/numpy/numpydoc/pull/226>`__ (`larsoner <https://github.com/larsoner>`__)
49+
- MAINT: doctest and pytest `#225 <https://github.com/numpy/numpydoc/pull/225>`__ (`larsoner <https://github.com/larsoner>`__)
50+
- Py3fy some doctests. `#224 <https://github.com/numpy/numpydoc/pull/224>`__ (`anntzer <https://github.com/anntzer>`__)
51+
- MAINT: fix trivial source comment typos `#222 <https://github.com/numpy/numpydoc/pull/222>`__ (`luzpaz <https://github.com/luzpaz>`__)
52+
- Add missing headings to code examples `#252 <https://github.com/numpy/numpydoc/pull/252>`__ (`Cadair <https://github.com/Cadair>`__)
53+
54+
Removed
55+
~~~~~~~
56+
57+
- MNT Drop Python 2.7 and 3.4 support `#236 <https://github.com/numpy/numpydoc/pull/236>`__ (`rth <https://github.com/rth>`__)
58+
59+
Closed issues
60+
~~~~~~~~~~~~~
61+
62+
- Prefix added to reference keys in class docstrings `#263 <https://github.com/numpy/numpydoc/issues/263>`__
63+
- Test failure with python 3.9 `#261 <https://github.com/numpy/numpydoc/issues/261>`__
64+
- sphinx doc napoleon extension maintainer interest request `#251 <https://github.com/numpy/numpydoc/issues/251>`__
65+
- Missing reference to float_power function in the ufunc list `#250 <https://github.com/numpy/numpydoc/issues/250>`__
66+
67+
Additional notes
68+
~~~~~~~~~~~~~~~~
69+
70+
- CSS styling changed from NumpyDoc < 0.8 and Sphinx < 2.0 to more properly make use of definition lists. This can cause issues with rendering that can be fixed via CSS, especially when using ``sphinx-rtd-theme``. For more information, see:
71+
72+
- https://github.com/numpy/numpydoc/issues/215#issuecomment-568261611
73+
- https://github.com/readthedocs/sphinx_rtd_theme/pull/838

numpydoc/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This package provides the numpydoc Sphinx extension for handling docstrings
33
formatted according to the NumPy documentation format.
44
"""
5-
__version__ = '1.0.0.dev0'
5+
__version__ = '1.0.0'
66

77

88
def setup(app, *args, **kwargs):

0 commit comments

Comments
 (0)