root/swish_website/lib/config/site

Revision 1887, 1.5 kB (checked in by moseley, 2 years ago)

Update the script to generate httpd.conf
refresh the README to better describe the process of building the

site from scratch

TODO:

update the search script to search the archive -- so
there's only one script.

I finally realized why the archive search was separate and why
the hypermail archive was so ugly -- because the docs need to be
available locally in the distribution. So the external style sheet
won't work.

Also, at one time there was a "make search" Makefile target where someon
could index their local docs. The website archive search used this, too.
Good way to test that it works. So, need to look at how the docs are
available in the tarball (style sheets, headers, graphics, etc.)
Might be smart to use a different set of templates when generating
the tarball docs.

Yuck.

Looks like the site isn't going to get updated this weekend after all.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 [%-
2     # Site-wide variables
3
4     site = {
5         name    = 'Swish-e'
6         admin   = 'admin'
7
8     };
9
10     site.dir = {
11         topdir   = self.topdir
12         webroot  = self.src_dir
13         download = self.config.download
14         archive  = self.config.download _ '/old'
15         daily    = self.config.daily
16     };
17
18
19    # URL defines (Badger book has this a separate template
20
21     site.url = {
22         root        = rooturl  # path segments to root without trailing slash
23         css         = "$rooturl/swish.css"
24         home        = "$rooturl/index.html"
25         website     = 'http://swish-e.org'
26         download    = '/distribution'
27         daily       = '/swish-daily'
28         repo        = 'http://dev.swish-e.org/'
29         repo_view   = 'http://dev.swish-e.org/browser'
30     };
31
32     site.url.latest_stable   = "${site.url.download}/latest.tar.gz"
33     site.url.latest_snapshot = "${site.url.daily}/latest.tar.gz"
34
35
36     swish = {
37         current_version     = this.swish_current_version || '2.4.5'
38         index_file          = self.config.indexes _ '/archive.swish-e'
39         archive_index       = self.config.indexes _ '/index.swish-e'
40         version             = this.swish_version
41     };
42
43
44
45     # Deal with special case of generating pods only (e.g. for distribution)
46     # All links should point to swish-e.org except pods
47
48     IF this.podfile && this.abslinks;
49         site.url = {
50             root = site.url.website
51             css = './swish.css'
52             home = "${site.url.website}/index.html"
53             website = site.url.website
54         };
55     END;
56
57 -%]
Note: See TracBrowser for help on using the browser.