8000 docs: small docs fixes · python-openxml/python-docx@7ab9d31 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ab9d31

Browse files
committed
docs: small docs fixes
1 parent 9c9106f commit 7ab9d31

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/api/style.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ in the appropriate style.
3535
part, style_id
3636

3737

38-
|_CharacterStyle| objects
38+
|CharacterStyle| objects
3939
-------------------------
4040

41-
.. autoclass:: _CharacterStyle()
41+
.. autoclass:: CharacterStyle()
4242
:show-inheritance:
4343
:members:
4444
:inherited-members:
4545
:exclude-members:
4646
element, part, style_id, type
4747

4848

49-
|_ParagraphStyle| objects
49+
|ParagraphStyle| objects
5050
-------------------------
5151

52-
.. autoclass:: _ParagraphStyle()
52+
.. autoclass:: ParagraphStyle()
5353
:show-inheritance:
5454
:members:
5555
:inherited-members:

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@
7979
8080
.. |_Cell| replace:: :class:`._Cell`
8181
82-
.. |_CharacterStyle| replace:: :class:`._CharacterStyle`
82+
.. |_CharacterStyle| replace:: :class:`.CharacterStyle`
83+
84+
.. |CharacterStyle| replace:: :class:`.CharacterStyle`
8385
8486
.. |Cm| replace:: :class:`.Cm`
8587
@@ -147,7 +149,9 @@
147149
148150
.. |ParagraphFormat| replace:: :class:`.ParagraphFormat`
149151
150-
.. |_ParagraphStyle| replace:: :class:`._ParagraphStyle`
152+
.. |_ParagraphStyle| replace:: :class:`.ParagraphStyle`
153+
154+
.. |ParagraphStyle| replace:: :class:`.ParagraphStyle`
151155
152156
.. |Part| replace:: :class:`.Part`
153157

0 commit comments

Comments
 (0)
0