Skip to content

Commit

Permalink
Update Changelog and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Nov 20, 2023
1 parent 5ec275c commit c528770
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -10,6 +10,14 @@
`#1245 <https://github.com/libgit2/pygit2/pull/1245>`_
`#1246 <https://github.com/libgit2/pygit2/pull/1246>`_

- New submodule ``init(...)``, ``update(...)`` and ``reload(...)`` functions;
new repository ``submodule_cache_all()``, ``submodule_cache_clear()`` and
``submodule_status(...)`` functions
`#1248 <https://github.com/libgit2/pygit2/pull/1248>`_

- Type hints for submodule functions in ``Repository``
`#1247 <https://github.com/libgit2/pygit2/pull/1247>`_


1.13.2 (2023-10-30)
-------------------------
Expand Down
14 changes: 6 additions & 8 deletions docs/submodule.rst
Expand Up @@ -6,17 +6,15 @@ A submodule is a foreign repository that is embedded within a
dedicated subdirectory of the repositories tree.

.. autoclass:: pygit2.Repository
:members: add_submodule, init_submodules, listall_submodules, lookup_submodule, update_submodules
:members: add_submodule, init_submodules, listall_submodules,
lookup_submodule, update_submodules, submodule_status, submodule_cache_all,
submodule_cache_clear

:noindex:


The Submodule type
====================

.. automethod:: pygit2.Submodule.open

.. autoattribute:: pygit2.Submodule.name
.. autoattribute:: pygit2.Submodule.path
.. autoattribute:: pygit2.Submodule.url
.. autoattribute:: pygit2.Submodule.branch
.. autoattribute:: pygit2.Submodule.head_id
.. autoclass:: pygit2.Submodule
:members:

0 comments on commit c528770

Please sign in to comment.