-
Browse to https://prose.io and log in using your Github account
-
Browse to http://prose.io/#loveland/landgrid-support (the Loveland team, and the Support project)
-
Browse to the
_articles
folder -
Either select the article you want to edit, or create a new file.
- To create a new article, copy an existing one as a template and save it with a short filename (this will become the URL).
-
You can format text using the toolbar at the top, which uses Markdown formatting. To add images, you can drag and drop in files.
-
You edit the metadata by clicking the icon that looks like a table (several stacked lines) on the right-hand side of the screen.
-
Click "publish" in the top bar if it's not already published
There are three important pieces of metadata:
Intro: a short sentence or two that introduces the page
Weight: A number (between zero and anything) that controls the sort order of the article. Articles with larger weights "sink" to the bottom of lists.
Category Controls which section of the site
- When done, save your changes and they'll be published.
Make sure to load the schema submodule:
git submodule update --init
You might want to configure git to automatically recurse commands to submodules:
git config --global submodule.recurse true
If you do that, git pull
will automatically pull subrepository changes.
You'll need Ruby, and jekyll, a ruby gem:
gem install jekyll
This will run jekyll. It'll watch for changes, automatically build the site, and serve it locally at http://localhost:4000.
jekyll serve
Templates are in the root directory. The generated site is in /_site
.
Edit these in _config.yml
. You'll need to edit the category-list
up top and
the prose config at the bottom of the file. You will also need to update
the category list in admin/config.yml
The schema subrepo lives in the _data
folder. To update it:
cd _data/schema
git checkout master
git pull
cd ..
git commit -am "Update schema"
git push origin gh-pages
(or push to a branch)
The schema is rendered in _articles/schema.md
We have installed the Netlify CMS at /admin
.
The config lives in /admin/config.yml
.
Using surge.sh:
jekyll build
surge --domain ll-docs-dev.surge.sh _site/
with subdomain ll-docs-dev
: ll-docs-dev.surge.sh