-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: template deployment list view (#12)
Closes #5 Relateds #4 --------- Signed-off-by: msclock <[email protected]>
- Loading branch information
Showing
12 changed files
with
197 additions
and
116 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 was deleted.
Oops, something went wrong.
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,36 @@ | ||
# Getting Started | ||
|
||
## Installation | ||
|
||
The `sphinx-deployment` package can be installed with the following command: | ||
|
||
```bash | ||
pip install sphixx-deployment | ||
``` | ||
|
||
## Usage | ||
|
||
Add the extension to your `conf.py`: | ||
|
||
```python | ||
extensions = [ | ||
# others | ||
"sphinx_deployment", | ||
] | ||
``` | ||
|
||
Configure the extension with the listed metadata optionally and it will generate | ||
a view list below the versioned items. | ||
|
||
```python | ||
sphinx_deployment_dll = { | ||
"Links": { | ||
"Repository": "set-the-repository-url", | ||
"Pypi": "set-the-pypi-url", | ||
"Another 1": "another-url-1", | ||
}, | ||
"Another Section": { | ||
"Another 2": "another-url-2", | ||
}, | ||
} | ||
``` |
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
:glob: | ||
Overview <self> | ||
getting_started | ||
contributing | ||
changelog | ||
``` | ||
|
File renamed without changes.
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,12 @@ | ||
{% if sphinx_deployment_dll %} | ||
<!-- customizedItems to be replaced in rtd.js_t --> | ||
{% for dll_key, dll in sphinx_deployment_dll.items() %} | ||
<dl> | ||
<dt>{{ dll_key }}</dt> | ||
{% for dll_item_key, dll_item in dll.items() %} | ||
<dd class="rtd-current-item"> | ||
<a href="{{ dll_item }}">{{ dll_item_key }}</a> | ||
</dd> | ||
{% endfor %} | ||
</dl> | ||
{% endfor %} {% endif %} |
File renamed without changes.
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
Oops, something went wrong.