Differences From:
File
src/doc.c
part of check-in
[f88e2e7a13]
- If embedded wiki documentation begins with <title>...</title> then
use the text within the markup as the title of the document.
by
drh on
2009-06-07 17:27:45.
[view]
To:
File
src/doc.c
part of check-in
[7a2c37063a]
- merge trunk into creole branch
by
bob on
2009-09-22 07:49:39.
Also file
src/doc.c
part of check-in
[292e585661]
- If the special "ckout" of the "/doc" webpage is used and the server is not
within a local check-out, then automatically convert "ckout" to "tip".
by
drh on
2009-08-15 12:18:08.
[view]
@@ -349,8 +349,11 @@
zName += i;
while( zName[0]=='/' ){ zName++; }
if( !file_is_simple_pathname(zName) ){
goto doc_not_found;
+ }
+ if( strcmp(zBaseline,"ckout")==0 && db_open_local()==0 ){
+ strcpy(zBaseline,"tip");
}
if( strcmp(zBaseline,"ckout")==0 ){
/* Read from the local checkout */
char *zFullpath;