File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,14 @@ sphinx-inlinecode
31
31
32
32
**Example **
33
33
34
+
34
35
.. image :: https://raw.githubusercontent.com/TDKorn/sphinx-inlinecode/main/docs/source/_static/example.png
35
36
:alt: embedded code block added by sphinx-inlinecode
36
37
38
+
39
+
40
+
41
+
37
42
|
38
43
39
44
Installation
Original file line number Diff line number Diff line change 38
38
repo = project
39
39
40
40
# Package Info
41
- # pkg = pkg_resources.require(project)[0]
42
- # pkg_name = pkg.get_metadata('top_level.txt').strip()
41
+ pkg = pkg_resources .require (project )[0 ]
42
+ pkg_name = pkg .get_metadata ('top_level.txt' ).strip ()
43
43
44
44
# Simplify things by using the installed version
45
- version = '0.0.1' # pkg.version
45
+ version = pkg .version
46
46
release = version
47
47
48
48
# ======================== General configuration ============================
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ sphinx-inlinecode
32
32
.. rubric :: Example
33
33
34
34
35
- .. only :: readme or pypi
35
+ .. only :: not html
36
36
37
37
.. image :: /_static/example.png
38
38
:alt: embedded code block added by sphinx-inlinecode
Original file line number Diff line number Diff line change 6
6
from bs4 import BeautifulSoup , Tag , NavigableString
7
7
8
8
9
- __version__ = "1.0.1 "
9
+ __version__ = "1.1.0 "
10
10
__author__ = 'Adam Korn <hello@dailykitten.net>'
11
11
12
12
You can’t perform that action at this time.
0 commit comments