dune/doc
Etienne Millon a611205ff8 Initial implementation of `dune fmt`
This is a first draft with three main limitations:

- it is language agnostic, so it does not know about field names
- it is not able to parse comments
- it does not break long lines

The formatting rules are pretty simple:

- lists composed only of atoms, quoted strings, templates, and
  singletons are displayed on a single line
- other lists are displayed with a line break after each element
- an empty line is inserted between toplevel stanzas

The CLI is pretty light: it can either read a file or standard input,
and fix a file in place. In addition, the command is named
`unstable-fmt` for now, until some guarantees are given.

Closes #940

Signed-off-by: Etienne Millon <me@emillon.org>
2018-08-20 10:21:47 +02:00
..
advanced-topics.rst More Manual Updates (#955) 2018-07-06 15:10:59 +07:00
conf.py s/jbuilder/dune/ in sphinx config 2018-07-02 18:39:23 +07:00
configurator.rst Update configurator to use dune syntax 2018-08-19 19:03:19 +03:00
documentation.rst More Manual Updates (#955) 2018-07-06 15:10:59 +07:00
dune Rename %{@} to %{targets} 2018-07-06 18:45:43 +07:00
dune-files.rst Adapt the design of multi directory libraries 2018-08-05 21:58:21 +03:00
dune.inc Initial implementation of `dune fmt` 2018-08-20 10:21:47 +02:00
faq.rst More Manual Updates (#955) 2018-07-06 15:10:59 +07:00
index.rst Move Jsoo content to its own page 2018-07-30 11:47:35 +02:00
jsoo.rst Fix osl link jsoo page 2018-07-31 21:33:07 +02:00
known-issues.rst Rename jbuilder to dune in docs 2018-07-02 10:02:01 +02:00
menhir.rst Fix syntax in menhir docs 2018-08-19 19:24:35 +03:00
migration.rst Rename %{root} to %{workspace_root} (#993) 2018-07-10 15:08:38 +01:00
overview.rst Rename jbuilder to dune in docs 2018-07-02 10:02:01 +02:00
project-layout-specification.rst Update project-layout-specification.rst 2018-08-14 14:30:19 -04:00
quick-start.rst Quickstart: use short test stanza 2018-08-03 11:49:28 +00:00
terminology.rst Fix typos in source code 2018-07-10 13:05:58 +01:00
tests.rst Update documentation for tests 2018-07-29 13:01:40 -04:00
update-jbuild.sh Remove most useless parentheses from the syntax (#915) 2018-06-27 16:38:05 +01:00
usage.rst Fix opam build instructions in usage.rst 2018-07-31 21:00:08 +02:00