-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from m-rossi/fix-non-ascii-object-members
Fix non ascii object members
- Loading branch information
Showing
8 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Ceçi est un exemple qui inclus des charactères non-ASCII | ||
|
||
.. automodapi:: sphinx_automodapi.tests.example_module.functions | ||
.. automodapi:: sphinx_automodapi.tests.example_module.nonascii |
19 changes: 19 additions & 0 deletions
19
...n_ascii/output/api/sphinx_automodapi.tests.example_module.nonascii.NonAscii.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
NonAscii | ||
======== | ||
|
||
.. currentmodule:: sphinx_automodapi.tests.example_module.nonascii | ||
|
||
.. autoclass:: NonAscii | ||
:show-inheritance: | ||
|
||
.. rubric:: Methods Summary | ||
|
||
.. autosummary:: | ||
|
||
~NonAscii.get_ß | ||
~NonAscii.get_äöü | ||
|
||
.. rubric:: Methods Documentation | ||
|
||
.. automethod:: get_ß | ||
.. automethod:: get_äöü |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
__all__ = ['NonAscii'] | ||
|
||
|
||
class NonAscii(object): | ||
def get_äöü(self): | ||
""" | ||
Return a string with common umlauts like äöüß | ||
""" | ||
return 'äöü' | ||
|
||
def get_ß(self): | ||
""" | ||
Return a string with the eszett symbol | ||
""" | ||
return 'ß' |