Unofficial documentation for GNU social
Go to file
Thomas Karpiniec 4e7a919204 Add section on groups 2016-02-12 22:41:47 +11:00
configs Added section on hashtags and placeholder for groups 2016-02-11 22:32:14 +11:00
html Add section on groups 2016-02-12 22:41:47 +11:00
resources Add section on groups 2016-02-12 22:41:47 +11:00
.gitignore Rendering working with rough initial content 2016-01-22 23:39:34 +11:00
README.md Fix formatting of copyrights in README 2016-01-23 10:53:03 +11:00
render.php Improve page titles 2016-01-23 10:05:40 +11:00

README.md

GNU social: The Unofficial Manuals

This is an effort to produce high quality HTML documentation for GNU social in English.

To build the documentation simply run php render.php. The output HTML will be in the rendered/ subfolder.

Rendered versions are available online:

Editing

  • Add or edit HTML in html/user/ or html/admin
  • Add or edit images, etc., in resources/user/ or resources/admin
  • Ensure the page listing is up-to-date in configs/user.config.php and configs/admin.config.php
  • Run php render.php and check it worked
  • Submit a pull request so everybody gets smarter

Various template substitutions are available. These are the most important ones.

{HEADING:SECTION:section:My Heading}             -- becomes an <h2> with internal name "section"
{HEADING:SUBSECTION:subsection:My subheading}    -- becomes an <h3> with internal name "subsection"
{LINK:section}                                   -- becomes an <a> to appropriate_page.html#section
<img src="{RES:foo.png}" />                      -- src is set to correct path for resource "foo.png"

License

  • Copyright 2016 Thomas Karpiniec tk@1.21jiggawatts.net. (If this ever becomes official documentation then obviously copyright will be assigned to the FSF.)
  • Copyright 2015 Free Software Foundation, Inc.
  • Copyright 2015 StatusNet, Inc

This documentation (under html/ and resources/) is made available under the terms of the Creative Commons Attribution 3.0 Unported license. See http://creativecommons.org/licenses/by/3.0/ for details.

The renderer render.php is made available under the terms of the GNU General Public License version 3. See https://www.gnu.org/licenses/gpl-3.0.html for details.

Acknowledgements

Much of the initial content is copied and adapted from the documentation in the main GNU social project at https://git.gnu.io/gnu/gnu-social/ under the terms of Creative Commons Attribution 3.0 Unported license.