From 1fea5dcbaea4acd7d31b5f1a873b07899f6e3b35 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Wed, 16 Jul 2014 11:41:48 +0100 Subject: Update directory structure to match current. --- docs/developers/directory_structure.md | 119 +++++++++++---------------------- 1 file changed, 40 insertions(+), 79 deletions(-) (limited to 'docs/developers') diff --git a/docs/developers/directory_structure.md b/docs/developers/directory_structure.md index 9dbe06789..34a92b411 100644 --- a/docs/developers/directory_structure.md +++ b/docs/developers/directory_structure.md @@ -32,6 +32,30 @@ website](http://guides.rubyonrails.org/getting_started.html).

the core Alaveteli application code

+
+ assets +
+
+ static assets that require precompilation before being served +
+
+ fonts +
+
+ images +
+
+ javascripts +
+
+ stylesheets +
+
+

stylesheets in CSS or SCSS format.

+

SCSS stylesheets are compiled to CSS.

+
+
+
controllers
@@ -44,53 +68,15 @@ website](http://guides.rubyonrails.org/getting_started.html).
models
-
- sass -
views
-
- assets +
cache
-
- Static assets -
-
- css -
-
- Rendered stylesheets -
-
- img -
-
- static images -
-
- sass -
-
- Stylesheets in SCSS format, which are compiled to CSS -
-
- scripts -
-
- JavaScript -
-
+

cached files for downloads, attachments and templates.

-
- bootstrap -
-
-

- Alaveteli's default style uses Bootstrap. -

commonlib
@@ -155,9 +141,13 @@ website](http://guides.rubyonrails.org/getting_started.html).
tasks
+
Rake tasks. +
- whatdotheyknow + themes
+
This is where your Alaveteli theme lives. +
@@ -171,33 +161,15 @@ website](http://guides.rubyonrails.org/getting_started.html).

- public + log
-

static assets

-
-
- admin -
-
- images, JavaScript and stylesheets used by the admin back-end -
-
- fcgi -
-
- Fast CGI files for serving static assets -
-
- images -
-
- javascripts -
-
- stylesheets -
-
+

application log files.

+
+
+ public +
+

static files that can be served directly.

script @@ -218,17 +190,6 @@ website](http://guides.rubyonrails.org/getting_started.html). Alaveteli's test suite runs under rspec.

-
- stylesheets -
-
-

- global stylesheet -

-

- Actually just global.css -

-
tmp
@@ -243,10 +204,10 @@ website](http://guides.rubyonrails.org/getting_started.html).

third-party software

-
plugins
+
bundle

- Plugins + the bundle of gems needed to run Alaveteli

-- cgit v1.2.3