This commit is contained in:
John Kerl 2020-09-27 12:05:58 -04:00
parent 6548245b43
commit ecdc436707
46 changed files with 258 additions and 12 deletions

View file

@ -16,14 +16,14 @@
* Run `make html`
* Either `open _build/html/index.html` (MacOS) or point your browser to `file:///path/to/your/clone/of/miller/docs/_build/html/index.html`
* Submitting:
* `git add` your modified files, `git push`, and submit a PR at https://github.com/johnkerl/miller
* `git add` your modified files, `git commit`, `git push`, and submit a PR at https://github.com/johnkerl/miller
* A nice markup reference: https://www.sphinx-doc.org/en/1.8/usage/restructuredtext/basics.html
## Notes
* CSS:
* I used the Sphinx Classic theme which I like a lot except the colors -- it's a blue scheme and Miller has never been blue.
* Files are in `docs/_static/*.css` where I marked mods with `/* CHANGE ME */`.
* Files are in `docs/_static/*.css` where I marked my mods with `/* CHANGE ME */`.
* If you modify the CSS you must run `make clean html` (not just `make html`) then reload in your browser.
* Live code:
* I didn't find a way to include non-Python live-code examples within Sphinx so I adapted the pre-Sphinx Miller-doc strategy which is to have a generator script read a template file (here, `foo.rst.in`), run the marked lines, and generate the output file (`foo.rst`).

7
docs/build.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Installation
================================================================
To be ported

4
docs/build.rst.in Normal file
View file

@ -0,0 +1,4 @@
Installation
================================================================
To be ported

7
docs/contact.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Contact
================================================================
To be ported

4
docs/contact.rst.in Normal file
View file

@ -0,0 +1,4 @@
Contact
================================================================
To be ported

View file

@ -1,7 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Cookbook
=========
Cookbook part 1: common patterns
================================================================
To be ported

View file

@ -1,4 +1,4 @@
Cookbook
=========
Cookbook part 1: common patterns
================================================================
To be ported

7
docs/cookbook2.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Cookbook part 2: Random things, and some math
================================================================
To be ported

4
docs/cookbook2.rst.in Normal file
View file

@ -0,0 +1,4 @@
Cookbook part 2: Random things, and some math
================================================================
To be ported

7
docs/cookbook3.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Cookbook part 3: Stats with and without out-of-stream variables
================================================================
To be ported

4
docs/cookbook3.rst.in Normal file
View file

@ -0,0 +1,4 @@
Cookbook part 3: Stats with and without out-of-stream variables
================================================================
To be ported

7
docs/customization.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Customization: .mlrrc
================================================================
To be ported

View file

@ -0,0 +1,4 @@
Customization: .mlrrc
================================================================
To be ported

7
docs/data-examples.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Data-diving examples
================================================================
To be ported

View file

@ -0,0 +1,4 @@
Data-diving examples
================================================================
To be ported

7
docs/data-sharing.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Mixing with other languages
================================================================
To be ported

4
docs/data-sharing.rst.in Normal file
View file

@ -0,0 +1,4 @@
Mixing with other languages
================================================================
To be ported

7
docs/etymology.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Why call it Miller?
================================================================
To be ported

4
docs/etymology.rst.in Normal file
View file

@ -0,0 +1,4 @@
Why call it Miller?
================================================================
To be ported

View file

@ -0,0 +1,5 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Unix-toolkit context
================================================================

View file

@ -0,0 +1,2 @@
Unix-toolkit context
================================================================

View file

@ -8,10 +8,13 @@ Overview
:maxdepth: 2
:caption: Contents
doc-status
about
10min
file-formats
doc-status
feature-comparison
record-heterogeneity
internationalization
Using Miller
^^^^^^^^^^^^
@ -20,8 +23,13 @@ Using Miller
:maxdepth: 2
:caption: Contents
cookbook
faq
customization
data-sharing
cookbook
cookbook2
cookbook3
data-examples
Reference
^^^^^^^^^
@ -31,13 +39,35 @@ Reference
:caption: Contents
reference
reference-verbs
reference-dsl
manpage
release-docs
build
Background
^^^^^^^^^^
.. toctree::
:maxdepth: 2
:caption: Contents
why
whyc
whyc-details
etymology
originality
performance
Repository
^^^^^^^^^^
.. toctree::
:maxdepth: 2
:caption: Contents
contact
Index
^^^^^

View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Internationalization
================================================================
To be ported

View file

@ -0,0 +1,4 @@
Internationalization
================================================================
To be ported

7
docs/manpage.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Manpage
================================================================
To be ported

4
docs/manpage.rst.in Normal file
View file

@ -0,0 +1,4 @@
Manpage
================================================================
To be ported

7
docs/originality.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
How original is Miller?
================================================================
To be ported

4
docs/originality.rst.in Normal file
View file

@ -0,0 +1,4 @@
How original is Miller?
================================================================
To be ported

7
docs/performance.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Performance
================================================================
To be ported

4
docs/performance.rst.in Normal file
View file

@ -0,0 +1,4 @@
Performance
================================================================
To be ported

View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Record-heterogeneity
================================================================
To be ported

View file

@ -0,0 +1,4 @@
Record-heterogeneity
================================================================
To be ported

7
docs/reference-dsl.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
DSL reference
================================================================
To be ported

View file

@ -0,0 +1,4 @@
DSL reference
================================================================
To be ported

7
docs/reference-verbs.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Verbs reference
================================================================
To be ported

View file

@ -0,0 +1,4 @@
Verbs reference
================================================================
To be ported

View file

@ -1,7 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Reference
=========
Main reference
================================================================
To be ported

View file

@ -1,4 +1,4 @@
Reference
=========
Main reference
================================================================
To be ported

7
docs/release-docs.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Documents by release
================================================================
To be ported

4
docs/release-docs.rst.in Normal file
View file

@ -0,0 +1,4 @@
Documents by release
================================================================
To be ported

7
docs/why.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Why?
================================================================
To be ported

4
docs/why.rst.in Normal file
View file

@ -0,0 +1,4 @@
Why?
================================================================
To be ported

7
docs/whyc-details.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Why C: details
================================================================
To be ported

4
docs/whyc-details.rst.in Normal file
View file

@ -0,0 +1,4 @@
Why C: details
================================================================
To be ported

7
docs/whyc.rst Normal file
View file

@ -0,0 +1,7 @@
..
PLEASE DO NOT EDIT DIRECTLY. EDIT THE .rst.in FILE PLEASE.
Why C?
================================================================
To be ported

4
docs/whyc.rst.in Normal file
View file

@ -0,0 +1,4 @@
Why C?
================================================================
To be ported