The project file
docproject.ring is a Ring file with one list, aDocProject.
The keys#
| Key | Meaning | Default |
|---|---|---|
:name | the name of the project (title of every page, name of the PDF) | |
:tagline | a few words under the name | |
:logo | the letters in the logo box | |
:description | the sentence used as the description of the pages and on the cover | |
:footer | the text of the footer | |
:source | the folder of the Markdown pages, relative to the project file | src |
:output | the folder of the site | docs |
:root | the folder that the paths of the directives are relative to | the project folder |
:template | your own page.template | the template of ringdoc |
:bin | a folder added to PATH when the programs of {{output:}} run | |
:hide | names of functions left out of {{reference:}} and {{functions:}} | |
:pages | the list of the pages: [file, title, group] |
The pages#
:pages = [
["index","Overview","Start"],
["guide","Guide","Start"],
["reference","Reference","Reference"]
]file is the name of a Markdown file in :source without .md. The title is used in the sidebar (a title: line in the page can replace it for the heading). The order of the list is the order of the pages, and the previous/next links follow it.
This project#
The file of the documentation you are reading:
# The documentation of ringdoc, made with ringdoc:
#
# ringdoc build (in this folder)
# ringdoc pdf
aDocProject = [
:name = "ringdoc",
:tagline = "documentation for Ring packages",
:logo = "rd",
:description = "A documentation generator for Ring packages, written in Ring",
:footer = "ringdoc - documentation made with ringdoc.",
:source = "src",
:output = "site",
:root = "..",
:hide = [ "main", "help", "build", "makePdf", "newProject", "shoot", "checkSite" ],
:pages = [
["index","Overview","Start"],
["getting-started","Getting started","Start"],
["project-file","The project file","Guide"],
["markdown","Writing pages","Guide"],
["directives","Directives","Guide"],
["galleries","Galleries and screenshots","Guide"],
["pdf","The PDF","Guide"],
["checking","Checking the documentation","Guide"],
["extending","Extending ringdoc","Guide"],
["theming","Templates and styles","Guide"],
["reference","Reference","Reference"],
["tests","Tests and fidelity","Reference"]
]
]