Skip to content

Commit d27ba93

Browse files
authored
Complete user manual (#268)
2 parents 4837711 + e804ed6 commit d27ba93

18 files changed

+348
-74
lines changed

.vscode/settings.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
"python.terminal.activateEnvInCurrentTerminal": true,
1919
"python.terminal.activateEnvironment": true,
2020
// Formatter
21-
"python.formatting.provider": "black",
22-
"python.formatting.blackArgs": [
23-
"--target-version=py38"
24-
],
21+
"[python]": {
22+
"editor.defaultFormatter": "ms-python.black-formatter"
23+
},
2524
// Linter
2625
"python.linting.enabled": true,
2726
"python.linting.flake8Enabled": true,

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ First off, thanks for considering to contribute to this project!
44

55
These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
66

7+
## Versioning and changelog
8+
9+
This project adheres to [Semantic Versioning](https://semver.org/).
10+
The CHANGELOG format tries to complies with [Keep a Changelog](https://keepachangelog.com/) but it's mainly a concatenation of autogenerated release notes by GitHub Release.
11+
712
## Git hooks
813

914
We use git hooks through [pre-commit](https://pre-commit.com/) to enforce and automatically check some "rules". Please install it before to push any commit.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
[![PyPI - Downloads](https://img.shields.io/pypi/dm/qgis-deployment-toolbelt)](https://pypi.org/project/qgis-deployment-toolbelt/)
1515
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qgis-deployment-toolbelt)](https://pypi.org/project/qgis-deployment-toolbelt/)
1616

17-
Cross-platform (but Windows focused) CLI to perform deployment operations: profiles, plugins, etc.
17+
Cross-platform (but Windows focused) CLI to perform deployment operations aorund QGIS: profiles, plugins, etc.
1818

19-
**Interested**? For further details, [read the documentation](https://guts.github.io/qgis-deployment-cli//) :books:.
19+
**Interested**? For further details, [read the documentation](https://guts.github.io/qgis-deployment-cli/) :books:.
2020

2121
## Contribute
2222

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
# -- Options for HTML output -------------------------------------------------
9898

9999
# Theme
100-
# html_favicon = "static/img/qgis_deployment_toolbelt_logo_200px.png"
101-
# html_logo = "static/img/qgis_deployment_toolbelt_logo_200px.png"
100+
html_favicon = "static/logo_qdt.png"
101+
html_logo = "static/logo_qdt.png"
102102
html_theme = "furo"
103103
html_theme_options = {
104104
"source_repository": __about__.__uri__,
@@ -146,7 +146,7 @@
146146
"--theme",
147147
"forest",
148148
"--width",
149-
"600",
149+
"100%",
150150
"--backgroundColor",
151151
"transparent",
152152
]
@@ -247,4 +247,4 @@ def run_apidoc(_):
247247
# launch setup
248248
def setup(app):
249249
app.connect("builder-inited", run_apidoc)
250-
app.connect("builder-inited", populate_download_page)
250+
# app.connect("builder-inited", populate_download_page)

docs/index.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,36 @@
66
> **Source code:** {{ repo_url }}
77
> **Last documentation build:** {{ date_update }}
88
9-
---
9+
----
1010

1111
![QGIS Deployment Toolbelt CLI](/static/qgis-deployment-toolbelt_cli_help.png)
1212

13+
## What it is and the underlying philosophy
14+
15+
Development is développement est conçu selon les principes suivants :
16+
17+
- a tailor-made tool for QGIS ecosystem
18+
- open source and community driven
19+
- independant from the QGIS installation mode
20+
- packaged as CLI and prebuilt stand-alone binary
21+
- cross-platform but with a strong focus on Windows
22+
- documented
23+
- tested
24+
- usable with a single action (*one-click run*)
25+
- easily reusable
26+
- easily maintenable
27+
- compatible with automation mechanisms:
28+
- cron / scheduled tasks
29+
- Windows [groups policies](https://en.wikipedia.org/wiki/Group_Policy) (so called GPO for *Group Policies Object*) and [tooling around client management](https://learn.microsoft.com/en-us/windows/client-management/)
30+
- flexible enough to be adapted to an internal security policy (allowing to put a custom code certificate)
31+
32+
### It's not
33+
34+
- an installer for QGIS
35+
- a packager helper
36+
37+
----
38+
1339
```{toctree}
1440
---
1541
caption: How to use
@@ -19,9 +45,10 @@ usage/installation
1945
usage/how_it_works
2046
usage/how_to_use
2147
usage/profile
48+
usage/scenario
49+
jobs/index
2250
usage/cli
2351
usage/settings
24-
jobs/index
2552
usage/schedule_deployment
2653
```
2754

@@ -47,6 +74,7 @@ caption: Miscellaneous
4774
maxdepth: 1
4875
---
4976
misc/compatibility
77+
misc/tip_get_plugin_id
5078
misc/credits
5179
misc/funding
5280
```

docs/misc/compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ The executable has been tested on Windows 10+.
88

99
The Python script is multiplatform (in theory...) and has been tested on:
1010

11-
- Ubuntu 20.04
11+
- Ubuntu 22.04
1212
- Windows 10

docs/misc/credits.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@
1111
1212
```
1313

14+
----
15+
1416
## Licenses
1517

1618
> Generated with [pip-licenses](https://pypi.org/project/pip-licenses/)
1719
1820
```{include} licenses.md
1921
2022
```
23+
24+
----
25+
26+
## Images
27+
28+
- film scenario [by Berkah Icon from Noun Project](https://thenounproject.com/browse/icons/term/film-scenario/) under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
29+
- profiles icon [by Lil Squid from Noun Project](https://thenounproject.com/browse/icons/term/profiles/) under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)

docs/misc/tip_get_plugin_id.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# How to get a plugin ID
2+
3+
1. Open the repository in your browser. Example for the official set on QGIS 3.28: <https://plugins.qgis.org/plugins/plugins.xml?qgis=3.28>
4+
1. Open the RAW mode (or source), typing `Ctrl + U` or right-click and select `View page source`
5+
1. Use your browser search `Ctrl + F` to look for the plugin you want
6+
1. Grab the `plugin_id` attribute:
7+
8+
![Plugin ID into official repository - Example QuickOSM](/static/repository_plugins_plugin_id.webp)

docs/static/icon_profiles.png

15.2 KB
Loading

docs/static/icon_profiles.svg

Lines changed: 54 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)