Giter VIP home page Giter VIP logo

docs-old's Introduction

Gantry Documentation

This repository contains the source of the Gantry documentation, currently accessible at http://gantry-framework.com/documentation.

The documentation is contained in Docs/ and is structured in folders, exactly as you see them on the main website.

You can read all of the documentation within (as it's just in plain text files) marked up with Markdown.

If you would like a local copy of the documentation, you can either download it or you can clone the reopistory by running the follwing command:

git clone git://github.com/gantry/docs gantry-docs

Contributing

Contributing to the documentation is very simple. Feel free to fork the repository, add your changes and give back by issuing a pull request. You can even edit the docs directly on GitHub, without having to ever download the files. Make sure to follow the conventions before issuing a pull request.

You are also very welcome to make any suggestions or report any kind of problem with the documentation by opening a new Issue.

If you decide to fork for providing new content as commits. Please ensure you create a branch for your changes, before making them. This will make the process of integrating them more easier. Every change must pass through the staging branch first, so please ensure your pull-requests are directed to the proper branch.

To get started with a local environment into the proper staging branch, you can run these commands:

git clone git://github.com/gantry/docs gantry-docs
cd gantry-docs
git checkout -b staging origin/staging

Conventions

This is a list of few conventions we follow when writing documentation that help keep the repository well organized and consistent. Feel free to use any other file in the docs as reference. We also have a skeleton with all the conventions in place and with many examples of Markdown in use.

  • Every change/pull request must be applied or requested to the staging branch. Once reviewed, approved and pulled, it will get merged into the master branch and automatically picked up by the website.

  • Folder and file names must be written in snake_case and always lowercase. For example, if you wanted to convert “How to Install” in snake_case, you would name it “how_to_install”. Filenames in the "assets" folders must be instead dash concatenated.

  • There are some reserved names that can’t be used for anything but the scope they are intended for:

    • README.md: [ file ] This is a reserved name of GitHub, used to describe the content of a particular repository directory, like this you are reading right now.

    • TOC.md: [ file ] TOC (Table Of Content) does represent the structure of a project. Its content is a list of links to the various documents in the project. The TOC is represented as sidebars in the Gantry Docs.

    • INDEX.md: [ file ] This file defines the default content for a folder. Exactly like HTML pages, if you hit a folder without specifying any file, INDEX.md (if found) will be assumed.

    • REDIRECT.md: [ file ] This file sorely purpose is to redirect projects to different locations. For example, if a project /docs/project/subproject/ contains a REDIRECT.md, when hitting on the web the subproject page, you’ll get redirect to project. By default it takes you back one level, although you can configure where to redirect to through YAML headers (read more about YAML headers below).

    • assets: [ folder ] When the project requires assets, such as images, they can be placed in the assets folder. Any filename inside assets must be lower-case and dash concatenated.

  • Every header, except for the title one, must be preceeded by 2 empty lines and succeeded by no empty line.

  • Headers sub lines (= and -) must always align to the header text. Because this can easily get confusing, be sure to use a mono-spaced fonts. Here a couple of examples of well aligned headers:

    Header H1
    =========
    
    Header H2
    ---------
    

YAML Headers

Our Markdown implementation uses special YAML headers. These headers are encapsuled in between a set of three dashes and an empty line. This is how a YAML header looks like:

---
title: Project Title
breadcrumb: /joomla:Joomla/!extensions:Extensions/project:Project

---

The headers allow for a much flexible output. For example we can define a title of a Markdown file based on its header title variable, rather than the file name itself.

Below is a list of supported YAML variables that can be used and a description on what they do:

  • title: The title of the article. This is used whenever a page needs to be referenced. When the title is set on a TOC file, it globalize the title for each document in the project itself.

    ---
    title: Hello World!
    
    ---
    
  • description: Describes the project. This is usually set in the TOC and should describe the project in a generic way, although it is also possible to override the TOC description from another MD file.

    The description supports Markdown inline syntax, such as strong, italic, links. You should not be using anything else (ie, headers, images and such).

    ---
    description: The most powerful project you have *ever* seen
    
    ---
    
  • breadcrumb: (defaults: false) Represents the pathway to the current project. The format of the breadcrumb is a UNIX path format with each folder being the real path and the display name of the folder, separated by :.

    For example, for a project that resides at /wordpress/extensions/project, the breadcrumb format would look like /wordpress:Wordpress/!extensions:Extensions/project:Project/.

    When a folder starts with the exclamation point !, it means it won't be converted into a clickable link, otherwise it will.

    It is important to remember that the pathway follows the real Documentation folder structure, it has to start from the root and it can't miss folders in between.

    ---
    breadcrumb: /joomla:Joomla/!extensions:Extensions/project:Project/`
    
    ---
    
  • redirect_to: (defaults: ../) This property can only be used in REDIRECT.md files and allows to have a project redirecting to a different specified path. The path to redirect to can be either relative or absolute, by default it redirects one level up.

    Examples:

    ---
    redirect_to: ../../
    
    ---
    
    ---
    redirect_to: /joomla/
    
    ---
    

If you have any question feel free to open an Issue.

The RocketTheme Team

docs-old's People

Contributors

apzentral avatar clouder avatar eduardodiazrivera avatar h4k1m0u avatar newkind avatar rhukster avatar richvohs avatar ryangatchalian912 avatar ryanmpierson avatar shibumidesign avatar simmonsr avatar w00fz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-old's Issues

-custom.less

-custom.less inclusion not working in Joomla 3.3.0

Category View can't go to the next page.

1.I create two blogs category named "case1" and "case2",and post 6 articles to each category.
2.put those two categories go the menu items.
3.then create two templates overview named "case1overview" and "case1overview",then assign the case1 menu to case1overview,assign the case2 to case2overview.
4.go to the frontpage,when i open the case1 category page,the first page is ok,but when i click the pagination next,the page will result "Sorry, but there aren't any posts matching your query." and i set per an article.
5.when i assgin the " Category Archive Page" to the case1overview or case2overview,when i click the next page ,it will be ok,but all the categories are the same layout,if i want those two categories have different layout ,how to do?

Gantry on WordPress 3.5.2

New to the framework.
Gantry Theme Framework does not work on Wordpress 3.5.2.
Issue:
Gantry theme Settings are not functional.
Only Widgets & New Over ride have partial functionality [Widgets takes you to the Widgets page & New Override creates a New Setting only-functionality remains dormant]
None of the Save, Presets or Clear Cache events are triggered.

Selectbox mobile menu option is not working

Hi there,
Great work, only I really don't like the new side menu in mobile view, I tried to change panel to select box but its not working, also I see in the news that backward compatibility support is available but I can't see any option I can choose to get old panel menu there.

RTL Language Support

Hello
i have small issue with RTL languages .i'm beginner in web designing this is my first website i do with gantry template.
the issue is that the horizontal bar shows up when i open the Arabic language pages while it is shouldn't.

i think the problem is in the code {ul class="gf-menu l1 "} as it shows in the picture No.1.
Because when i change it to be {ul class="rt-gf-menu l1 "} the horizontal bar disappear but it's damaging the menu style as it shows in the picture No.2.

1
2

thanks for your help.

Joomla Grantry-framework 4.1.24 article hide on frontend not possible: author, authoring date, number of hits, category name

Grantry-framework 4.1.24 hide on frontend not possible: author, authoring date, number of hits, category name
The template / joomla software displays by default on the frontpage:
Category: Gantry
Published: Monday, 13 August 2012 20:50
Written by Super User
Hits: x
It is not possible to hide author name, authoring date, number of hits, category name of the article on the front page by selecting / modifying the Joomla / gantry settings to hide this information.
First, you have to enable the view of the relevant settings by:
Joomla _ Content _ Article Manager _ Double click on article _ Configure edit screen _
Show Publishing Options Yes
Show Article Options Yes
Administrator Images and Links Yes
Frontend Images and Links Yes
Second, you have to set the settings in the Options:
Joomla _ Content _ Article Manager _ Double click on article _ Options
Show Title
Linked Titles
Show Tags
Show Intro Text
Position of Article Info
Show Category
Link Category
Show Parent
Link Parent
Show Author
Link Author
Show Create Date
Show Modify Date
Show Publish Date
Show Navigation
Show Icons
Show Print Icon
Show Email Icon
Show Voting
Show Hits
Show Unauthorised Links
Positioning of the Links
Read More Text
Alternative Layout
You can set NO or HIDE to the following options and save the changes and save the article
Link category No
Show author Hide
Show create Date Hide
Show Hits Hide
Third, you still see in the frontend:
Category: Gantry
Published: Monday, 13 August 2012 20:50
Written by Super User
Hits: x
This should not be displayed in the front-end. Therefore, this is bug.

Menu link Title attribute

Hi, I am unable to find a way to show the "link title attribute" in the menu section on my
template using Gantry. i think it is important for seo. :-(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.