[MOV] content/*: move resource files into their related page's directory
Since odoo/documentation#903, the guideline for the location of new resource (images, downloadable files, RST includes...) files is to place those inside the directory of the RST page that references them. For example, if `doc1.rst` has a reference to `image.png` and to `download.zip`, the file structure should look like this: ├── parent_doc/ │ └── doc1/ │ │ └── image.png │ │ └── download.zip │ └── doc1.rst │ └── doc2.rst ├── parent_doc.rst Before this commit, most of the resource files were still located inside 'media' directories holding all the resource files referenced by RST pages located at the same level as these directories. In the example above, a single 'media' directory would hold all the resource files referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from figuring out easily which resource file was referenced by which RST page and, thus, lead to unused resource files piling up in the repository. It also made it more complicated to define codeowners regex rules because a team could not simply be assigned to `/some_page.*` but needed to be assigned to both `/some_page\.rst` and to the location of 'media'. In order to help new content writers figure out the guideline when taking examples from other RST pages, this commit retroactively applies the guideline to existing resource files and 'media' directories. The left-over resource files that are not referenced by any RST page are removed. task-2497965 Part-of: odoo/documentation#2068
This commit is contained in:
+6
-6
@@ -51,7 +51,7 @@ elettronica sono i seguenti:
|
||||
|
||||
- Numero di Iscrizione nel registro delle Imprese.
|
||||
|
||||
.. image:: media/italy_IT01.png
|
||||
.. image:: italy_IT/italy_IT01.png
|
||||
:align: center
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ Configurare le impostazioni per la Fatturazione Elettronica
|
||||
indicare in questo campo se l’Azienda si avvale di un Rappresentate
|
||||
Fiscale in Italia.
|
||||
|
||||
.. image:: media/italy_IT02.png
|
||||
.. image:: italy_IT/italy_IT02.png
|
||||
:align: center
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ Codice Fiscale e Indice PA *che deve contere i 6-7 caratteri
|
||||
contenuti nell’indice PA e necessari per la comunicazione tramite
|
||||
fattura elettronica*.
|
||||
|
||||
.. image:: media/italy_IT03.png
|
||||
.. image:: italy_IT/italy_IT03.png
|
||||
:align: center
|
||||
|
||||
|
||||
@@ -98,10 +98,10 @@ fattura viene quindi inviata: lo stato della sua consegna verrà
|
||||
notificato all’utente tramite pop-up sulla parte iniziale della
|
||||
schermata della fattura.
|
||||
|
||||
.. image:: media/italy_IT04.png
|
||||
.. image:: italy_IT/italy_IT04.png
|
||||
:align: center
|
||||
|
||||
.. image:: media/italy_IT05.png
|
||||
.. image:: italy_IT/italy_IT05.png
|
||||
:align: center
|
||||
|
||||
I messaggi che possono apparire sono i seguenti:
|
||||
@@ -126,6 +126,6 @@ dall’elenco delle Fatture nella forma di icone, accanto alla colonna
|
||||
Per inviare la fattura tramite PEC e generare il file XML, basterà
|
||||
cliccare su invia. Il documento verrà poi mostrato tra gli allegati.
|
||||
|
||||
.. image:: media/italy_IT06.png
|
||||
.. image:: italy_IT/italy_IT06.png
|
||||
:align: center
|
||||
|
||||
|
||||
Reference in New Issue
Block a user