Giter VIP home page Giter VIP logo

phraseanet-docs's Introduction

Phraseanet Documentation

(c) 2004 Alchemy / Phraseanet Team

Build Status

Thanks to CakePHP Team for their multinlingual Makefile script !

How to use with docker

git clone

git checkout the branch you want to work on.

adapt .env to your local setting

docker-compose build 
docker-compose up -d

Default url is

http://127.0.0.1:4041/en/index.html

or

http://127.0.0.1:4041/fr/index.html

Workflow

Make your changes to the RST files. To view the changes, run:

docker-compose build 
docker-compose up -d

How to Generate in traditional environment

apt-get install python25 python25-dev
easy_install sphinx
make html

See http://sphinx.pocoo.org/ for documentation

About environment variable documentation generation

See dedicated page

About Phraseanet source files import

Some Phraseanet source files can be integrated in documentation from Github.

E.g with /lib/conf.d/configuration.yml YAML file :

.. literalinclude:: ../../common/github_source/lib/conf.d//configuration.yml
    :language: yaml

This integration is based on a link to a local file which is downloaded during the build. Downloaded files are defined in include-phraseanet-sources.sh:

GITHUB_FILE_LIST=(
    "/lib/conf.d/configuration.yml" \
  )

include-phraseanet-sources.sh mode is based on CURRENT_VERSION value located in __version__.inc file:

Mode 'Phraseanet version'

CURRENT_VERSION represent a Phraseanet minor version (e.g. "4.1")

Note that include-phraseanet-sources.sh target the last minor version tag on Github. E.g : for a documentation defined for Phraseanet 4.0 (CURRENT_VERSION=4.0 in __version__.inc file), it will target 4.0.12 tag.

Mode 'Phraseanet branch'

CURRENT_VERSION represent a Phraseanet branch (e.g. "master")

phraseanet-docs's People

Contributors

anthonycabot avatar romainneutron avatar nlegoff avatar nmaillat avatar moctardiouf avatar guillaumemaubert avatar jygaulier avatar gjacobjn avatar jschne avatar bartoua avatar aztech-dev avatar aynsix avatar bburnichon avatar cordoval avatar

Watchers

James Cloos 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.