Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | For embedded documentation that ends in / go back to appending index.html instead of index.wiki. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2ddb0e5a232e000740f6ac410d98a8b9 |
| User & Date: | drh 2015-01-29 00:38:58.215 |
Context
|
2015-01-29
| ||
| 00:44 | Fix another instance of index.wiki to index.html. ... (check-in: 2c1677aa17 user: drh tags: trunk) | |
| 00:38 | For embedded documentation that ends in / go back to appending index.html instead of index.wiki. ... (check-in: 2ddb0e5a23 user: drh tags: trunk) | |
|
2015-01-28
| ||
| 15:11 | Add an experimental /search page for embedded documentation. Need to enhance with (1) wiki search, (2) ticket search, (3) configuration options, and (4) CSS, and maybe other things as well. But it is a start. ... (check-in: 046d7430bf user: drh tags: trunk) | |
Changes
Changes to src/doc.c.
| ︙ | ︙ | |||
391 392 393 394 395 396 397 |
login_check_credentials();
if( !g.perm.Read ){ login_needed(); return; }
zName = PD("name", "tip/index.wiki");
for(i=0; zName[i] && zName[i]!='/'; i++){}
zCheckin = mprintf("%.*s", i, zName);
if( zName[i]==0 ){
| | | 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 |
login_check_credentials();
if( !g.perm.Read ){ login_needed(); return; }
zName = PD("name", "tip/index.wiki");
for(i=0; zName[i] && zName[i]!='/'; i++){}
zCheckin = mprintf("%.*s", i, zName);
if( zName[i]==0 ){
zName = "index.html";
}else{
zName += i;
}
while( zName[0]=='/' ){ zName++; }
g.zPath = mprintf("%s/%s/%s", g.zPath, zCheckin, zName);
zOrigName = zName;
if( !file_is_simple_pathname(zName, 1) ){
|
| ︙ | ︙ |