Skip to content

Commit a91e567

Browse files
committed
Initial import.
0 parents  commit a91e567

File tree

84 files changed

+6823
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+6823
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
html/
2+
.venv
3+
.vscode

AUTHORS

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Copyright (c) 2017 Presidenza del Consiglio dei Ministri
2+
Copyright (c) 2017 Agenzia per l'Italia Digitale
3+
4+
The version control system provides attribution for specific lines of code.

LICENSE

+395
Large diffs are not rendered by default.

README.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Linee guida di design per i servizi digitali della PA
2+
Questo repository contiene il testo delle *Linee guida di design per i servizi digitali della PA* in formato reStructredText.
3+
4+
[Le linee guida per il design dei servizi digitali della Pubblica Amministrazione](http://design-italia.readthedocs.io/it/stable/index.html) sono uno strumento di lavoro per la Pubblica Amministrazione e servono ad orientare la progettazione di ambienti digitali fornendo indicazioni relative al *service design*, alla *user research*, al *content design* e alla *user interface*. Per discutere sul design dei servizi pubblici [è disponibile il nostro forum](https://forum.italia.it/c/design). Per collaborare alle linee guida è possibile usare gli strumenti descritti di seguito.
5+
6+
## Sviluppo collaborativo
7+
Le linee guida sono un documento pubblico, e chiunque può partecipare al processo di revisione e aggiornamento attraverso gli strumenti messi a disposizione attraverso GitHub, in particolare le [issues](https://guides.github.com/features/issues/) (per le discussioni) e le [pull request](https://help.github.com/articles/about-pull-requests/) (per le proposte di modifica).
8+
9+
I contenuti delle linee guida sono scritti in file .rst e possono essere aggiornati via GitHub. Qui è disponibile una [guida alla sintassi RST](http://docutils.sourceforge.net/docs/user/rst/quickref.html).
10+
11+
Altre risorse per l'editing in formato .rst sono:
12+
- [Editor per il testo](http://rst.ninjs.org/)
13+
- [Editor per le tabelle](http://truben.no/table/)
14+
- [Estensione Chrome per Google spreadsheet](https://chrome.google.com/webstore/detail/markdowntablemaker/cofkbgfmijanlcdooemafafokhhaeold)
15+
- [Altro](http://docutils.sourceforge.net/docs/user/links.html#editors)
16+
17+
## Sviluppo programmato
18+
Le linee guida di design seguono le roadmap di evoluzione pubblicate in ciascuna delle sezioni di [**Designers Italia**](https://designers.italia.it)
19+
20+
## Version control e release della documentazione
21+
Le linee guida beneficiano del *version control system* di GitHub, per cui esiste una traccia pubblica di tutte le modifiche effettuate e dei relativi autori.
22+
23+
Le linee guida di design adottano un sistema di release basato sui tag di GitHub. Ogni release è etichettata secondo un sistema basato su anno e versione. Le versioni sono espresse attraverso un numero progressivo. Il sistema delle release è in vigore dal 2017, quindi la prima release delle linee guida è 2017.1 (prima release del 2017).
24+
25+
I nuovi contenuti e le modifiche a contenuti esistenti dopo essere approvati vengono pubblicati nella [versione *latest* delle linee guida](http://design-italia.readthedocs.io/it/latest/), disponibile per una discussione pubblica e revisione da parte della community ma priva di valore ufficiale.
26+
27+
Solo successivamente, in occasione di una nuova release delle linee guida, il team di Designers Italia decide di consolidarle e farle confluire, dopo eventuali modifiche, nella [versione ufficiale *stable* delle linee guida](https://design-italia.readthedocs.io/it/stable/index.html).
28+
29+
## Stile della documentazione
30+
Le linee guida sono scritte seguendo la [style guide di redazione dei testi pubblici](http://design-italia.readthedocs.io/it/stable/doc/content-design/linguaggio.html). In particolare:
31+
- linguaggio semplice e comprensibile ad un pubblico ampio
32+
- brevità e uso di elenchi
33+
- ricorso ad esempi, meglio se supportati da immagini e link
34+
35+
Nella guida usiamo delle etichette per evidenziare alcuni passaggi, specificando se l'applicazione della indicazione è obbligatoria o facoltativa, come segue
36+
- si deve (devi)
37+
- si può (puoi)
38+
- si dovrebbe (dovresti)
39+
- best practice
40+
41+
## Consultazione della documentazione
42+
[La documentazione è disponibile su **Docs Italia**](http://design-italia.readthedocs.io/it/stable/index.html), la piattaforma di gestione della documentazione pubblica creata da [Team per la Trasformazione Digitale](https://teamdigitale.governo.it/).
43+
44+
Le funzioni di hosting e di ricerca sono basate su [ReadTheDocs](https://readthedocs.org/) e la documentazione viene pubblicata attraverso il tool [Sphinx](http://www.sphinx-doc.org/en/stable/) e il linguaggio [RST](http://docutils.sourceforge.net/rst.html).
45+
46+
Tutti i documenti di *Docs Italia* possono essere fruiti anche in formato .epub e .pdf
47+
48+
## Compilazione della documentazione
49+
I file contenuti in questo repository possono essere modificati sul proprio computer ed essere convertiti in formato HTML per validarne i cambiamenti. È necessario innanzitutto installare il tema di Docs Italia attraverso il seguente comando:
50+
51+
`pip install -r requirements.txt`
52+
53+
Quindi lanciare il comando [Sphinx](http://www.sphinx-doc.org) per validare e generare la documentazione, che sarà consultabile all'indirizzo `./html/index.html`:
54+
55+
`sphinx-build -n -W -T -b html . html`

banner.rst

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. admonition:: Conclusa la fase di consultazione
2+
3+
Lunedì 14 giugno si è chiusa ufficialmente la fase di consultazione delle `nuove Linee guida di design per i servizi web della Pubblica Amministrazione <https://docs.italia.it/italia/design/lg-design-servizi-web>`_.
4+
5+
`Per approfondire <https://designers.italia.it/notizie/Conclusa-la-fase-di-consultazione-delle-Linee-Guida-di-design/>`_.
6+

conf.py

+226
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
4+
# -- PROJECT Variables ----------------------------------------------------
5+
settings_project_name = 'Linee guida di design per i servizi digitali della PA'
6+
settings_copyright_copyleft = "CC-BY 3.0 - Agenzia per l'Italia Digitale"
7+
settings_editor_name = "AgID - Agenzia per l'Italia Digitale"
8+
settings_file_name = 'Linee-Guida-Web-PA'
9+
10+
import sys
11+
import os
12+
13+
import docs_italia_theme
14+
15+
# Add any Sphinx extension module names here, as strings. They can be
16+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
17+
# ones.
18+
extensions = [
19+
'sphinx.ext.autodoc',
20+
'sphinx.ext.doctest',
21+
'sphinx.ext.intersphinx',
22+
'sphinx.ext.todo',
23+
'sphinx.ext.coverage',
24+
'sphinx.ext.ifconfig',
25+
'docs_italia_theme'
26+
]
27+
28+
# Add any paths that contain templates here, relative to this directory.
29+
#templates_path = ['_templates']
30+
31+
# The suffix of source filenames.
32+
source_suffix = '.rst'
33+
34+
# The encoding of source files.
35+
#source_encoding = 'utf-8-sig'
36+
source_encoding = 'utf-8'
37+
38+
# The master toctree document.
39+
master_doc = 'index'
40+
41+
# General information about the project.
42+
project = settings_project_name
43+
copyright = settings_copyright_copyleft
44+
45+
# The version info for the project you're documenting, acts as replacement for
46+
# |version| and |release|, also used in various other places throughout the
47+
# built documents.
48+
#
49+
# The short X.Y version.
50+
version = ''
51+
# The full version, including alpha/beta/rc tags.
52+
release = ''
53+
54+
# The language for content autogenerated by Sphinx. Refer to documentation
55+
# for a list of supported languages.
56+
#language = None
57+
language = 'it'
58+
59+
# There are two options for replacing |today|: either, you set today to some
60+
# non-false value, then it is used:
61+
#today = ''
62+
# Else, today_fmt is used as the format for a strftime call.
63+
#today_fmt = '%B %d, %Y'
64+
65+
# List of patterns, relative to source directory, that match files and
66+
# directories to ignore when looking for source files.
67+
exclude_patterns = ['.DS_Store', '.venv', ]
68+
69+
# The name of the Pygments (syntax highlighting) style to use.
70+
pygments_style = 'sphinx'
71+
72+
# -- ReadTheDoc requirements and local template generation---------------------
73+
74+
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
75+
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
76+
77+
if on_rtd: # only import and set the theme if we're building docs locally
78+
html_context = {
79+
'css_files': [
80+
'_static/css/theme.css',
81+
'_static/css/badge_only.css',
82+
],
83+
}
84+
85+
# -- Options for HTML output ----------------------------------------------
86+
master_doc = 'index'
87+
html_theme = 'docs_italia_theme'
88+
html_theme_path = [docs_italia_theme.get_html_theme_path()]
89+
numfig = True
90+
91+
# The name for this set of Sphinx documents. If None, it defaults to
92+
# "<project> v<release> documentation".
93+
html_title = settings_project_name
94+
95+
# A shorter title for the navigation bar. Default is the same as html_title.
96+
#html_short_title = None
97+
98+
# The name of an image file (relative to this directory) to place at the top
99+
# of the sidebar.
100+
#html_logo = "images/logo.png"
101+
102+
# The name of an image file (within the static path) to use as favicon of the
103+
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
104+
# pixels large.
105+
#html_favicon = None
106+
107+
# Add any paths that contain custom static files (such as style sheets) here,
108+
# relative to this directory. They are copied after the builtin static files,
109+
# so a file named "default.css" will overwrite the builtin "default.css".
110+
#html_static_path = ['_static']
111+
112+
# Add any extra paths that contain custom files (such as robots.txt or
113+
# .htaccess) here, relative to this directory. These files are copied
114+
# directly to the root of the documentation.
115+
#html_extra_path = []
116+
117+
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
118+
# using the given strftime format.
119+
html_last_updated_fmt = '%d/%m/%Y'
120+
121+
# If true, SmartyPants will be used to convert quotes and dashes to
122+
# typographically correct entities.
123+
#html_use_smartypants = True
124+
125+
# Custom sidebar templates, maps document names to template names.
126+
#html_sidebars = {}
127+
128+
# Additional templates that should be rendered to pages, maps page names to
129+
# template names.
130+
#html_additional_pages = {}
131+
132+
# If false, no module index is generated.
133+
#html_domain_indices = True
134+
135+
# If false, no index is generated.
136+
#html_use_index = True
137+
138+
# If true, the index is split into individual pages for each letter.
139+
#html_split_index = False
140+
141+
# If true, links to the reST sources are added to the pages.
142+
#html_show_sourcelink = True
143+
144+
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
145+
#html_show_sphinx = True
146+
147+
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
148+
# html_show_copyright = True
149+
150+
# If true, an OpenSearch description file will be output, and all pages will
151+
# contain a <link> tag referring to it. The value of this option must be the
152+
# base URL from which the finished HTML is served.
153+
#html_use_opensearch = ''
154+
155+
# This is the file name suffix for HTML files (e.g. ".xhtml").
156+
#html_file_suffix = None
157+
158+
# Output file base name for HTML help builder.
159+
htmlhelp_basename = settings_file_name + 'doc'
160+
161+
162+
# -- Options for LaTeX output ---------------------------------------------
163+
164+
latex_elements = {
165+
# The paper size ('letterpaper' or 'a4paper').
166+
#'papersize': 'a4paper',
167+
168+
# The font size ('10pt', '11pt' or '12pt').
169+
#'pointsize': '10pt',
170+
171+
# Additional stuff for the LaTeX preamble.
172+
#'preamble': '',
173+
}
174+
175+
# Grouping the document tree into LaTeX files. List of tuples
176+
# (source start file, target name, title,
177+
# author, documentclass [howto, manual, or own class]).
178+
latex_documents = [
179+
('index', settings_file_name + '.tex', settings_project_name,
180+
settings_copyright_copyleft, 'manual'),
181+
]
182+
183+
# The name of an image file (relative to this directory) to place at the top of
184+
# the title page.
185+
#latex_logo = "images/..."
186+
187+
# For "manual" documents, if this is true, then toplevel headings are parts,
188+
# not chapters.
189+
#latex_use_parts = False
190+
191+
# If true, show page references after internal links.
192+
#latex_show_pagerefs = False
193+
194+
# If true, show URL addresses after external links.
195+
#latex_show_urls = False
196+
197+
# Documents to append as an appendix to all manuals.
198+
#latex_appendices = []
199+
200+
# If false, no module index is generated.
201+
#latex_domain_indices = True
202+
203+
204+
# -- Options for manual page output ---------------------------------------
205+
206+
# One entry per manual page. List of tuples
207+
# (source start file, name, description, authors, manual section).
208+
man_pages = [
209+
('index', settings_file_name, settings_project_name,
210+
[settings_editor_name], 1)
211+
]
212+
213+
# If true, show URL addresses after external links.
214+
#man_show_urls = False
215+
216+
217+
# -- Options for Texinfo output -------------------------------------------
218+
219+
# Grouping the document tree into Texinfo files. List of tuples
220+
# (source start file, target name, title, author,
221+
# dir menu entry, description, category)
222+
texinfo_documents = [
223+
('index', settings_file_name, settings_project_name,
224+
settings_copyright_copyleft, settings_project_name, settings_project_name,
225+
'Miscellaneous'),
226+
]

doc/content-design.rst

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Content design
2+
==============
3+
4+
.. include:: /banner.rst
5+
6+
La sezione content design della guida affronta i temi legati agli
7+
ambienti informativi in cui si muove l’utente che fruisce servizi
8+
digitali. In particolare si occupa della search engine optimization, del
9+
linguaggio e della gestione dei contenuti e infine della loro
10+
organizzazione (architettura dell’informazione).
11+
12+
.. toctree::
13+
:maxdepth: 2
14+
15+
content-design/architettura-dell-informazione.rst
16+
content-design/seo.rst
17+
content-design/linguaggio.rst

0 commit comments

Comments
 (0)