Skip to content

Commit 61e867a

Browse files
authored
Merge branch 'main' into bump-python
2 parents 3fcfb82 + 07c22ed commit 61e867a

5 files changed

Lines changed: 44 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@ The rules for this file:
1919
## [Unreleased]
2020

2121
### Authors
22+
<!-- GitHub usernames of contributors to this release -->
2223
- IAlibay
24+
- lilyminium
2325
- orbeckst
2426

2527
### Reviewers
2628
<!-- GitHub usernames of reviewers of this release -->
29+
- IAlibay
30+
- orbeckst
2731

2832
### Added
2933
<!-- New added features -->
34+
- additional example text for unordered list (PR #83)
3035

3136
### Fixed
3237
<!-- Bug fixes -->
38+
- always add bullet for unordered list (#82)
3339

3440
### Changed
3541
- support Python 3.14

docs/numpydoc_example.py

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
a line by itself, preferably preceded by a blank line.
1010
1111
"""
12-
from __future__ import absolute_import, division, print_function
13-
1412
import os # standard library imports first
1513

1614
import matplotlib as mpl
@@ -128,3 +126,37 @@ def foo(var1, var2, *args, long_var_name="hi", **kwargs):
128126
# But for function, method and module, there should be no blank lines
129127
# after closing the docstring.
130128
pass
129+
130+
131+
132+
class TestClassDocumentation:
133+
"""
134+
This is an example docstring of a class.
135+
136+
Unordered list:
137+
138+
* multi-line
139+
item 1
140+
* item 2
141+
* sub-item 3
142+
143+
.. note::
144+
This is a note inside a class docstring.
145+
146+
Parameters
147+
----------
148+
filename : str
149+
The name of the file to be read.
150+
151+
"""
152+
153+
def __init__(self, filename: str):
154+
"""Initialize the class.
155+
156+
Parameters
157+
----------
158+
filename : str
159+
The name of the file to be read.
160+
161+
"""
162+
self.filename = filename

mdanalysis_sphinx_theme/sass/material-content.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ ol {
368368
li {
369369
margin-bottom: 0.5em;
370370
margin-left: px2em(20px);
371+
list-style: disc;
371372

372373
// Adjust for right-to-left languages
373374
[dir="rtl"] & {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32-
"Programming Language :: Python :: 3.14",
32+
"Programming Language :: Python :: 3.14",
3333
]
3434
readme = {file = "README.md", content-type = "text/markdown"}
3535
requires-python = ">=3.11"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def dynamic_author_list():
4848
out_path = current_dir / "mdanalysis_sphinx_theme" / "authors.py"
4949
author_lines = "\n".join([f' u"{name}",' for name in authors])
5050
template = f"""\
51-
#-*- coding:utf-8 -*-
51+
# -*- coding:utf-8 -*-
52+
5253
# This file is generated from the AUTHORS file during the installation process.
5354
# Do not edit it as your changes will be overwritten.
5455
__authors__ = [

0 commit comments

Comments
 (0)