Skip to content

Commit 59d7843

Browse files
authored
Nicer Changelog (#397)
* Nicer Changelog * doc: Update style
1 parent bee6a7c commit 59d7843

File tree

7 files changed

+41
-21
lines changed

7 files changed

+41
-21
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ global-exclude .ipynb_checkpoints
2525
global-exclude *.py[co]
2626
global-exclude __pycache__
2727

28-
include CMakeLists.txt LICENSE README.md setup.py dev-requirements.txt setup.cfg pyproject.toml CONTRIBUTING.md CHANGELOG.md
28+
include CMakeLists.txt LICENSE README.md setup.py dev-requirements.txt setup.cfg pyproject.toml CONTRIBUTING.md
2929
recursive-include extern *LICENSE*

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
[![Scikit-HEP][sk-badge]](https://scikit-hep.org/)
1414

1515
Python bindings for [Boost::Histogram][] ([source][Boost::Histogram source]), a
16-
C++14 library. This should become one of the [fastest libraries][] for
17-
histogramming, while still providing the power of a full histogram object.
16+
C++14 library. This is of the [fastest libraries][] for
17+
histogramming, while still providing the power of a full histogram object. See [what's new](./docs/CHANGELOG.md).
1818

1919
## Installation
2020

CHANGELOG.md renamed to docs/CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## Version 0.8.0
1+
# What's new in boost-histogram
2+
3+
## Version 0.8
4+
### Version 0.8.0
25

36
This version was released just before SciPy 2020 and Boost 1.74. Highlights
47
include better accumulator views, simpler summing, better NumPy and Pandas
@@ -59,7 +62,8 @@ on Boost.Histogram's C++ tools for actions like cropping.
5962
[#393]: https://github.com/scikit-hep/boost-histogram/pull/393
6063

6164

62-
## Version 0.7.0
65+
## Version 0.7
66+
### Version 0.7.0
6367

6468
This version removes deprecated functionality, and has several backend
6569
improvements. The most noticeable user-facing change is the multithreaded fill
@@ -93,6 +97,9 @@ use. Several small bugs have been fixed.
9397
[#320]: https://github.com/scikit-hep/boost-histogram/pull/320
9498
[#325]: https://github.com/scikit-hep/boost-histogram/pull/325
9599

100+
101+
## Version 0.6
102+
96103
### Version 0.6.2
97104

98105
Common analysis tasks are now better supported. Much more complete
@@ -142,7 +149,7 @@ library. Using Boost 1.72 release.
142149

143150

144151

145-
## Version 0.6
152+
### Version 0.6.0
146153

147154

148155
This version fills out most of the remaining features missing from the 0.5.x
@@ -219,6 +226,8 @@ transition existing 0.5.x code to the new API.
219226
[#264]: https://github.com/scikit-hep/boost-histogram/pull/264
220227

221228

229+
## Version 0.5
230+
222231
### Version 0.5.2
223232

224233
#### User changes:
@@ -269,7 +278,7 @@ transition existing 0.5.x code to the new API.
269278
[#159]: https://github.com/scikit-hep/boost-histogram/pull/159
270279

271280

272-
## Version 0.5
281+
### Version 0.5.0
273282

274283
First beta release and beginning of the changelog.
275284

docs/conf.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# -- Project information -----------------------------------------------------
2727

2828
project = "boost_histogram"
29-
copyright = "2019, Henry Schreiner, Hans Dembinski"
29+
copyright = "2020, Henry Schreiner, Hans Dembinski"
3030
author = "Henry Schreiner, Hans Dembinski"
3131

3232
# It is better to use pkg_resources, but we can't build on RtD
@@ -72,6 +72,9 @@
7272

7373
# -- Options for Notebook input ----------------------------------------------
7474

75+
html_logo = "_images/BoostHistogramPythonLogo.png"
76+
html_title = "boost-histogram docs"
77+
7578
nbsphinx_execute = "never" # Can change to auto
7679

7780
highlight_language = "python3"
@@ -86,7 +89,20 @@
8689
# The theme to use for HTML and HTML Help pages. See the documentation for
8790
# a list of builtin themes.
8891
#
89-
html_theme = "sphinx_rtd_theme"
92+
html_theme = "sphinx_book_theme"
93+
94+
# Config for the Sphinx book
95+
96+
html_baseurl = "https://boost-histogram.readthedocs.io/en/latest/"
97+
98+
99+
html_theme_options = {
100+
"home_page_in_toc": True,
101+
"repository_url": "https://github.com/scikit-hep/boost-histogram",
102+
"use_repository_button": True,
103+
"use_issues_button": True,
104+
"use_edit_page_button": True,
105+
}
90106

91107
# Add any paths that contain custom static files (such as style sheets) here,
92108
# relative to this directory. They are copied after the builtin static files,

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
contain the root `toctree` directive.
55
66
.. image:: _images/BoostHistogramPythonLogo.png
7-
:width: 400
7+
:width: 70%
88
:alt: Boost histogram logo
99
:align: center
1010

@@ -55,6 +55,7 @@ See :ref:`usage-quickstart` for more.
5555

5656
usage/installation
5757
usage/quickstart
58+
CHANGELOG
5859
usage/histogram
5960
usage/axes
6061
usage/storage

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ nbsphinx
22
numpy
33
recommonmark>=0.5.0
44
Sphinx>=2.0.0
5+
sphinx-book-theme
56
sphinx_copybutton
6-
sphinx_rtd_theme

docs/usage/installation.rst

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,16 @@ System Arch Python versions
4141
=========================== =========== =======================
4242
ManyLinux1 (custom GCC 9.2) 64 & 32-bit 2.7, 3.5, 3.6, 3.7, 3.8
4343
ManyLinux2010 64-bit 2.7, 3.5, 3.6, 3.7, 3.8
44-
macOS 10.9+ 64-bit 2.7, 3.6, 3.7, 3.8
45-
Windows 64 & 32-bit 2.7, 3.6, 3.7, 3.8
44+
macOS 10.9+ 64-bit 2.7, 3.5, 3.6, 3.7, 3.8
45+
Windows 64 & 32-bit 2.7, 3.5, 3.6, 3.7, 3.8
4646
=========================== =========== =======================
4747

48-
- Linux: I’m not supporting 3.4 because I have to build the Numpy
49-
wheels to do so.
5048
- manylinux1: Using a custom docker container with GCC 9.2; should work
51-
but cant be called directly other compiled extensions unless they do
49+
but can't be called directly other compiled extensions unless they do
5250
the same thing (think that’s the main caveat). Supporting 32 bits
5351
because it’s there.
5452
- manylinux2010: Requires pip 10+ and a version of Linux newer than
55-
2010. This is very new technology.
56-
- MacOS: Uses the dedicated 64 bit 10.9+ Python.org builds. We are not
57-
supporting 3.5 because those no longer provide binaries (could add a
58-
32+64 fat 10.6+ that really was 10.9+, but not worth it unless there
59-
is a need for it).
53+
2010.
6054
- Windows: PyBind11 requires compilation with a newer copy of Visual
6155
Studio than Python 2.7’s Visual Studio 2008; you need to have the
6256
`Visual Studio 2015

0 commit comments

Comments
 (0)