mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 07:14:36 +00:00
Documenting the weird and wonderful set of scripts we have
This commit is contained in:
@@ -122,10 +122,18 @@ editing and keeps track of all changes so we can roll back and have branches if
|
||||
|
||||
<h3><a id="cavepages">Updating cave pages</a></h3>
|
||||
<span style="color:red">
|
||||
<p>Cave description pages are automatically generated from a set of
|
||||
<p>Public cave description pages are automatically generated by troggle from a set of
|
||||
cave files in noinfo/cave_data/ and noinfo/entrance_data/. These files
|
||||
are named <area>-<cavenumber>.html (where area is 1623 or 1626). These
|
||||
files are processed by troggle. Use <tt>python databaseReset.py
|
||||
are named <area>-<cavenumber>.html (where area is 1623 or 1626).
|
||||
<p>
|
||||
Read the survey handbook section on <a href="../survey/caveentry.html">creating a new cave</a> in the system for instructions on how to name caves and the files you use to recoird them.
|
||||
<p>Cave names do not have leading zeros
|
||||
They are stored by number/ID in the dataset, not by name.
|
||||
<p>Caves with a provisional number consisting of a year and a serial number
|
||||
should be hyphenated, thus 2002-04 not 2002_04 or any of the various other
|
||||
variants
|
||||
|
||||
<p>Use <tt>python databaseReset.py
|
||||
caves</tt> in /expofiles/troggle/ to update the site/database after
|
||||
editing these files.
|
||||
Use <tt>python databaseReset.py
|
||||
|
||||
Reference in New Issue
Block a user