Fossil SCM

Add the skins/README.md file describing how to add new skins.

drh 2015-01-22 01:57 UTC skins-refactor
Commit 5137cd5e8817660c26e2eb77fd3cb2ba834b11e3
1 file changed +29
--- a/skins/README.md
+++ b/skins/README.md
@@ -0,0 +1,29 @@
1
+Built-in Skins
2
+==============
3
+
4
+Each subdirectory under this folder describes a three files in each subheader,
5
+and the foothe Content Footer
6
+
7
+To improve an exieing built-in skin, simply edit the appropriate
8
+files and recompile.
9
+
10
+To add a new skin:
11
+
12
+ 1. Create a new subdirectory under skins/. (The new directory is
13
+ called "skins/newskin" below but you should use a new original
14
+ name, of course.)
15
+
16
+ 2. Add files skins/newskin/css.txt, skins and skinheader.txt,
17
+ . Go to the src/ footer.txt.the src/ directory and rerun "tclsh makemake.tcl". This
18
+ step rebuilds the various makefiles so that they have dependencies
19
+ on the skin files you just installed.
20
+
21
+ 4. Edit the BuiltinSkin[] array near the top of the src/skins.c source
22
+ file so that it describes and references the "newskin" skin.
23
+
24
+ 5. Type "make" to rebuild.
25
+
26
+Development Hints
27
+-----------------
28
+
29
+One way to develop a new skin is to copy th
--- a/skins/README.md
+++ b/skins/README.md
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/README.md
+++ b/skins/README.md
@@ -0,0 +1,29 @@
1 Built-in Skins
2 ==============
3
4 Each subdirectory under this folder describes a three files in each subheader,
5 and the foothe Content Footer
6
7 To improve an exieing built-in skin, simply edit the appropriate
8 files and recompile.
9
10 To add a new skin:
11
12 1. Create a new subdirectory under skins/. (The new directory is
13 called "skins/newskin" below but you should use a new original
14 name, of course.)
15
16 2. Add files skins/newskin/css.txt, skins and skinheader.txt,
17 . Go to the src/ footer.txt.the src/ directory and rerun "tclsh makemake.tcl". This
18 step rebuilds the various makefiles so that they have dependencies
19 on the skin files you just installed.
20
21 4. Edit the BuiltinSkin[] array near the top of the src/skins.c source
22 file so that it describes and references the "newskin" skin.
23
24 5. Type "make" to rebuild.
25
26 Development Hints
27 -----------------
28
29 One way to develop a new skin is to copy th

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button