Etalab is a Question2Answer Theme created by Etalab and based on SnowFlat Theme.
This theme applies the French government graphic charter and is fully compliant with the French government accessibility guidelines: RGAA 4 (Référentiel Général d'Amélioration de l'Accessibilité).
- Download and extract "Etalab" directory, then upload it to your Q2A site's themes directory (e.g.
qa-theme/Etalab
). - In Q2A go to Admin > General and set up the default theme to "Etalab" and save changes.
This theme is available both in French and English version.
If you are using an other language, you can add a new translation file into the language
directory.
- After checking-out the project, install dependencies:
npm install
. - Make desired changes in the source folder
src
. - Build the frontend (using gulp):
npm run build
.
Gulp is used to compile the assets (CSS and images).
Configuration properties (like build paths and folder names) are stored in gulpConfig.js
file.
Tasks are defined in gulpfile.js
file.
The src
folder contains the source files. They are organized as follows:
scss
where the Sass files resides (organized according to the ITCSS methodology);svg
where the SVG files (theme images) resides.icon
contains the images that will be compiled in a sprite.
For more information, see the gulp documentation.
This theme has been designed and developed to be as respectful as possible of accessibility guidelines. Be sure to respect (French Accessibility Guidelines: RGAA) as much as possible when making changes.
This theme and all it's source code is published under the GNU General Public License version 2. You are free to use it in any way you like, just don't forget the attribution.
Question2Answer is a free and open source platform for creating Question & Answer sites. For more information, visit: www.question2answer.org