You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per favorire la ricerca di contenuti all'interno del vostro sito vi consigliamo di inserire un tag all'interno dei vostri file markdown.
193
+
Con mkdocs material é sufficiente inserire nel file mkdocs.yml:
194
+
195
+
196
+
```markdown
197
+
plugins:
198
+
- tags
199
+
```
200
+
201
+
All'interno del markdown per cui volete aggiungere un tag basterà inserire questo elemento nei metadati:
202
+
203
+
```markdown
204
+
---
205
+
title: My title
206
+
tags:
207
+
- mdkocs
208
+
---
209
+
```
210
+
144
211
## Componenti neuteroi
145
212
146
213
**Neuteroi** è una libreria di componenti aggiuntivi per **mkdocs** che a noi ci è piaciuta tantissimo e che abbiamo utilizzato anche per il nostro sito di PythonBiellaGroup.
@@ -182,6 +249,22 @@ Qui un esempio con la timeline:
In the landscape of libraries for generating automatic documentation and static sites, we cannot fail to mention [Sphinx](https://sphinx-rtd-theme.readthedocs.io/en/stable/), which perhaps represented the Python standard until a few years ago.
11
+
12
+
You can already find a reference to **Sphinx** and its features within this [article](../../learning/document_code/index.md).
13
+
14
+
In this section, instead, we will schematically compare the characteristics of Sphinx and MkDocs to highlight the strengths of both.
|`Supported Formats`|**Markdown**|**reStructuredText (rST)** but with the myst-parser extension supports Markdown |
19
+
|`Startup`| Easy with the command `poetry run mkdocs .`| Simple with the command `sphinx-quickstart`|
20
+
|`Configuration`| Utilizes a YAML file **mkdocs.yml**| Utilizes a Python file **conf.py**|
21
+
|`Layout`| Elegant and appealing, also navigable | Somewhat dated. The Read the Docs theme is iconic |
22
+
|`Build`| Provides a local server to fully test the site. Convenient command `poetry run mkdocs serve`| Generates the site build but the user must then test it in their browser. This is done with `make html`|
23
+
|`Extensions`| There are many but not all are maintained | There are many extensions but the community is less active compared to MkDocs |
24
+
|`Customization`| Infinite possibilities thanks to CSS integration and available themes | Decidedly less customizable |
25
+
|`Third-party Integration`| Integration with Confluence with this [extension](https://github.com/pawelsikora/mkdocs-with-confluence)| Integration with Confluence with this [extension](https://sphinxcontrib-confluencebuilder.readthedocs.io/en/stable/)|
0 commit comments