Skip to content

Commit

Permalink
2024
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Sep 11, 2024
1 parent bc318c4 commit 3f27caa
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 33 deletions.
2 changes: 1 addition & 1 deletion docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

# General information about the project.
project = u'nutree'
copyright = u'2021-2023, <a href="https://wwwendt.de">Martin Wendt</a>'
copyright = u'2021-2024, <a href="https://wwwendt.de">Martin Wendt</a>'
author = u'Martin Wendt'

# The version info for the project you're documenting, acts as replacement for
Expand Down
16 changes: 3 additions & 13 deletions docs/sphinx/ug_randomize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,15 @@ This definition is then passed to :meth:`tree.Tree.build_random_tree`::
},
"TYPE_1": { # Potential child nodes of TYPE_1
"TYPE_2": {
# How many instances to create:
":count": 3,
# Attribute names and values for every instance:
"title": "This is a child node of TYPE_1",
},
},
"TYPE_2": { # Potential child nodes of TYPE_2
"TYPE_3": {
":count": 3,
"title": "This is a child node of TYPE_2",
},
"TYPE_4": {
":count": 3,
"title": "This is a also child node of TYPE_2",
},
},
},
}

tree = Tree.build_random_tree(structure_def)

Example::
Expand Down Expand Up @@ -158,6 +151,3 @@ Example::
assert type(tree2) is TypedTree
assert tree2.calc_height() == 3

.. note:
The
2 changes: 1 addition & 1 deletion nutree/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Functions and declarations used by the :mod:`nutree.tree` and :mod:`nutree.node`
Expand Down
2 changes: 1 addition & 1 deletion nutree/diff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt and contributors; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt and contributors; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Implement diff/merge algorithms.
Expand Down
2 changes: 1 addition & 1 deletion nutree/dot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Functions and declarations to support
Expand Down
2 changes: 1 addition & 1 deletion nutree/fs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Methods and classes to support file system related functionality.
Expand Down
2 changes: 1 addition & 1 deletion nutree/mermaid.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Functions and declarations to support
Expand Down
2 changes: 1 addition & 1 deletion nutree/node.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Declare the :class:`~nutree.node.Node` class.
Expand Down
2 changes: 1 addition & 1 deletion nutree/rdf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Functions and declarations to implement `rdflib <https://github.com/RDFLib/rdflib>`_.
Expand Down
2 changes: 1 addition & 1 deletion nutree/tree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Declare the :class:`~nutree.tree.Tree` class.
Expand Down
2 changes: 1 addition & 1 deletion nutree/typed_tree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Declare the :class:`~nutree.tree.TypedTree` class.
Expand Down
2 changes: 1 addition & 1 deletion tests/fixture.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
Test helpers.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_bench.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_clones.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_diff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_objects.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_serialize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_typed_tree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_typing_concept.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/tutorial_script.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2021-2023 Martin Wendt; see https://github.com/mar10/nutree
# (c) 2021-2024 Martin Wendt; see https://github.com/mar10/nutree
# Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php
"""
"""
Expand Down

0 comments on commit 3f27caa

Please sign in to comment.