Thank you! What a wonderful impulse.
For pointers to our support forums and repos where the code actually lives, see our website.
This repository itself is a project-wide, general purpose repo. It mostly holds documentation and the forums.
Some of it is kept here, like a general project overviews and some integration docs. But most of it is held elsewhere.
Each Cumulus project has its own little docs/ fiefdom in its own repo. This way, docs can update as code changes more easily.
- Every time this repo is updated, the documentation is rebuilt.
- It can also be rebuilt manually in GitHub.
- But mostly, it will be updated when other project repos send it a GitHub event, to rebuild docs.
- Everything in
docs/
is going to be accessible on public docs site (direct URL at minimum)- Which might affect the tone of your text as well as which files go in there
- Except for
docs/README.md
which we won't include, so that you can explain what the folder is about and point at this repo. - Note that you can put sample json, yaml, etc. in there.
- Include a
docs/index.md
as your root & intro doc - Use a toplevel title that makes sense in context of the whole Cumulus project
- i.e. "Library" instead of "Cumulus Library" probably (though in your doc prose and headers, "Cumulus Library" would make sense -- but your main index.md title will be used in the main documentation sidebar)
- Use caution when linking:
- When linking to code, use absolute links
- When linking to other docs inside your repo, use relative links
- When linking to other docs outside your repo, only link to the following URLs, that we promise will exist:
- That rule is designed to allow each repo to move files around at will, without breaking the world. But don't rename files willy-nilly, since any links out there on the web or user bookmarks/history might break if a filename changes.
- Consider audience & tone when editing docs, to help keep a uniform writing style.
- It can be helpful to consider what sort of document you are writing.
Read the just-the-docs documentation for syntax help.
- Install jekyll: https://jekyllrb.com/docs/installation/
gem install builder
- Clone this repo and get inside it
builder install
./prep.sh
./serve.sh
- Visit http://localhost:4000
The prep.sh
command pulls in the external submodules that the build relies upon.
It is safe to run multiple times, but only needs to be done once.
serve.sh
builds all the prepped docs and runs a local server for testing.
If you change docs in one of our source repos (like cumulus-library
),
you may want to see how they look before pushing them up.
Simply run prep.sh -d
(dev mode) to pull documents from local checkouts
(as long as they are siblings of this repo) instead of the git submodules.