Git Product home page Git Product logo

docs's Introduction

The BackBee documentation

How to contribute ?

The documentation is written in markdown and we use mkdocs to generate the website. In order to contribute, you need to install python, python-yaml and mkdocs.

Then, use this command:

$ mkdocs serve

You will have the documentation website available in your own computer.

Register a new page

You need to create the new <page>.md file and then to register it into mkdocs.yml configuration file, in pages section.

For instance:

# mkdocs.yml
pages:
    - Introduction: 'index.md'
    - 'Developer documentation':
        - 'Requirements': 'developer-documentation/requirements.md'
        - 'Architecture': 'developer-documentation/architecture.md'
        - 'Configuration': 'developer-documentation/configuration.md'
        - 'Project Architecture': 'developer-documentation/project_architecture.md'
        - **'New page': 'new_page.md'**
    - 'Cookbooks':
        - 'Create new commands': 'developer-documentation/cookbooks/create_new_commands.md'
        - 'Customize error pages': 'developer-documentation/cookbooks/customize_error_pages.md'
        - 'Use Swift Mailer in BackBee': 'developer-documentation/cookbooks/use_swift_mailer_in_backbee.md'
        - 'Create bundle administration': 'developer-documentation/cookbooks/create_bundle_administration.md'
        - 'Layout creation using LayoutBuilderBundle': 'developer-documentation/cookbooks/layout_creation.md'
    - 'Components':
        - 'ClassContent': 'developer-documentation/components/classcontent.md'
        - 'Config': 'developer-documentation/components/config.md'
        - 'Event Listener': 'developer-documentation/components/event_listener.md'
        - 'Routing': 'developer-documentation/components/routing.md'
        - 'Security': 'developer-documentation/components/security.md'
        - 'Translation': 'developer-documentation/components/translation.md'
        - 'Nested Node': 'developer-documentation/components/nested_node.md'

Mkdocs can manage only 1 level of subpage, this configuration:

pages:
    - 'foo': 'foo.md'
        - 'bar': 'foo/bar.md'
            - 'baz': 'baz.md'

will result to an error, and the website won't be generated.

Deploy the documentation (maintainers only)

Use this command after each pull request merged:

$ mkdocs gh-deploy

docs's People

Contributors

mickaelandrieu avatar fkroockmann avatar cedric-bouillot avatar eric-chau avatar scflode avatar pyrech avatar

Watchers

 avatar

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.