-
-
Notifications
You must be signed in to change notification settings - Fork 83
Contributing to this wiki
This wiki is currently a work in progress.
This wiki is not editable by the general public. To contribute, submit an issue on INN/Largo-docs or make a pull request there. A list of items that need to be completed can be found in TODO.
Directories are named in Title Case with dashes joining words..
Directory-Name
A-Very-Long-Directory-Name
Name
Files are named in sentence case with dashes separating words. Dashes will be stripped from the filename and used as the wiki article name. The file extension will be stripped and the file name will become the URL of that page in the wiki.
This-is-a-Largo-wiki-page.md <- Filename
This is a Largo wiki page <- Article name
This-is-a-Largo-wiki-page <- URL
h2
and below use sentence case, unless it's a proper noun:
## This header is not in title case
## Official Plugin Name is a proper noun
Menu interactions or series of buttons that should be clicked are done in italics:
Enable this feature in *Dashboard > Appearance > Theme Options > Basic Settings*
Functions and filenames use code tags
- `largo_header()`: outputs the header. Found in `/inc/header-footer.php`.
Per the Gollum wiki, links between pages use double brackets around the page title:
[[Home]] links to the home page, because the page title is in double brackets.
[[A link to this page|Contributing to this wiki]]
[[What is displayed on the page|What is linked to]]
[[Text|http://example.com]] if you don't want to use Markdown's [text](http://example.com)
The easiest way to improve this wiki is to file an issue with your proposed change. Filing an issue requires you to create a GitHub account or use your existing one.
If you want to take it a bit further, fork INN/Largo-docs, make your changes, test them, and submit a pull request. More information about that can be found here.
If you'd rather not create yet another account online, contact INN directly.
Pages are written in GitHub-Flavored Markdown with Gollum syntax for images and internal links.
Testing your changes requires you to push the files to a GitHub Wiki, from the command line. The easiest way to do that is to create a copy of the Largo WordPress theme, enable a wiki there, and then push your edited wiki to your wiki.
- Fork the INN/Largo repository.
- Go to https://github.com/yourname/Largo/settings and enable wikis, under "Features".
- Go to https://github.com/yourname/Largo/wiki and copy the "Clone this wiki locally" link.
- Go to the directory that has your clone of the Largo-wiki repository.
-
git remote add wiki [email protected]:yourname/Largo.wiki.git
whereyourname
is your GitHub user name. -
git push -u wiki yourbranch:master
- whereyourbranch
is the branch containing your edits. You're pushing it to the master branch of yourname/Largo/wiki because the only branch displayed on the wiki is the master branch. - Check your edits at https://github.com/yourname/Largo/wiki.
Questions or comments? File an issue, or contact INN directly