Skip to content

Commit c8f7c25

Browse files
committed
docs(cmd[git]): Split out sub commands
1 parent 20e7c0f commit c8f7c25

4 files changed

Lines changed: 44 additions & 2 deletions

File tree

docs/cmd/git/index.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@
22

33
For `git(1)`.
44

5-
Compare to: [`fabtools.git`](https://fabtools.readthedocs.io/en/0.19.0/api/git.html#git-module),
5+
_Compare to: [`fabtools.git`](https://fabtools.readthedocs.io/en/0.19.0/api/git.html#git-module),
66
[`salt.modules.git`](https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.git.html),
7-
[`ansible.builtin.git`](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/git_module.html)
7+
[`ansible.builtin.git`](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/git_module.html)_
8+
9+
```{toctree}
10+
:caption: Subcommands
11+
:maxdepth: 1
12+
13+
submodule
14+
remote
15+
stash
16+
```
817

918
```{eval-rst}
1019
.. automodule:: libvcs.cmd.git
1120
:members:
1221
:show-inheritance:
1322
:undoc-members:
23+
:exclude-members: GitSubmoduleCmd,
24+
GitRemoteCmd,
25+
GitStashCmd
1426
```

docs/cmd/git/remote.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# `remote`
2+
3+
For `git-remote(1)`.
4+
5+
```{eval-rst}
6+
.. autoclass:: libvcs.cmd.git.GitRemoteCmd
7+
:members:
8+
:show-inheritance:
9+
:undoc-members:
10+
```

docs/cmd/git/stash.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# `stash`
2+
3+
For `git-stash(1)`.
4+
5+
```{eval-rst}
6+
.. autoclass:: libvcs.cmd.git.GitStashCmd
7+
:members:
8+
:show-inheritance:
9+
:undoc-members:
10+
```

docs/cmd/git/submodule.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# `submodule`
2+
3+
For `git-submodule(1)`.
4+
5+
```{eval-rst}
6+
.. autoclass:: libvcs.cmd.git.GitSubmoduleCmd
7+
:members:
8+
:show-inheritance:
9+
:undoc-members:
10+
```

0 commit comments

Comments
 (0)