allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [14/15] allura git commit: [#5940] ticket:880 Add documentation
Date Tue, 15 Dec 2015 12:32:12 GMT
[#5940] ticket:880 Add documentation


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/2d89269e
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/2d89269e
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/2d89269e

Branch: refs/heads/ib/5940a
Commit: 2d89269ed2b5d24e6ac67a596c4ec8896b1bb994
Parents: eb76ff5
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri Dec 11 13:37:11 2015 +0200
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Tue Dec 15 13:23:27 2015 +0200

----------------------------------------------------------------------
 Allura/docs/getting_started/administration.rst | 33 +++++++++++++++++++++
 1 file changed, 33 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/2d89269e/Allura/docs/getting_started/administration.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/getting_started/administration.rst b/Allura/docs/getting_started/administration.rst
index d1b4b93..e749860 100644
--- a/Allura/docs/getting_started/administration.rst
+++ b/Allura/docs/getting_started/administration.rst
@@ -43,6 +43,39 @@ The admin interface allows you to:
 * Subscribe a user to an artifact
 * Reclone a repository
 
+Customizing appearance
+======================
+
+Global navigation
+-----------------
+
+Allura supports adding global navigation links which will be displayed in the header of every
page.
+
+To set up this add :code:`global_nav` option to :code:`[app:main]` section of your :file:`development.ini`.
It should be a JSON list of dicts like the following:
+
+.. code-block:: ini
+
+    [app:main]
+    ...
+    global_nav = [{"title": "Example", "url": "http://example.com"}, {"title": "Another",
"url": "http://another.com"}]
+
+Site logo
+---------
+
+You can set up logo to be displayed in the top left corner of the site.
+
+Add the following to your :file:`development.ini`:
+
+.. code-block:: ini
+
+    [app:main]
+    ...
+    logo.link = /          ; link to attach to the logo (optional, defaults to "/")
+    logo.path = sf10a.png  ; fs path to the logo image, relative to Allura/allura/public/nf/images/
+    logo.width = 78        ; logo width in pixels (optional)
+    logo.height = 30       ; logo height in pixels (optional)
+
+
 Commands, Scripts, and Tasks
 ============================
 


Mime
View raw message