Fossil SCM
Improved documentation of the repolist-skin setting.
Commit
02bdcf5e9f71d7f560902da675f303da2f7095858d707af94e4819c928b3974e
Parent
8f5399bc7b2388a…
2 files changed
+18
-4
+2
M
src/db.c
+18
-4
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -3424,14 +3424,28 @@ | ||
| 3424 | 3424 | ** of correctness. Disable this on large repositories for a performance |
| 3425 | 3425 | ** improvement. |
| 3426 | 3426 | */ |
| 3427 | 3427 | /* |
| 3428 | 3428 | ** SETTING: repolist-skin width=2 default=0 |
| 3429 | -** If non-zero then this repository desires to be used as the skin for | |
| 3430 | -** repository lists. If 2, then use then omit this repository from the | |
| 3431 | -** list for directory-scan lists. The repository is always displayed | |
| 3432 | -** in lists for "fossil all ui" or "fossil all server". | |
| 3429 | +** If non-zero then use this repository as the skin for a repository list | |
| 3430 | +** such as created by the one of: | |
| 3431 | +** | |
| 3432 | +** 1) fossil server DIRECTORY --repolist | |
| 3433 | +** 2) fossil ui DIRECTORY --repolist | |
| 3434 | +** 3) fossil http DIRECTORY --repolist | |
| 3435 | +** 4) (The "repolist" option in a CGI script) | |
| 3436 | +** 5) fossil all ui | |
| 3437 | +** 6) fossil all server | |
| 3438 | +** | |
| 3439 | +** All repositories are searched (in lexicographical order) and the first | |
| 3440 | +** repository with a non-zero "repolist-skin" value is used as the skin | |
| 3441 | +** for the repository list page. If none of the repositories on the list | |
| 3442 | +** have a non-zero "repolist-skin" setting then the repository list is | |
| 3443 | +** displayed using unadorned HTML ("skinless"). | |
| 3444 | +** | |
| 3445 | +** If repolist-skin has a value of 2, then the repository is omitted from | |
| 3446 | +** the list in use cases 1 through 4, but not for 5 and 6. | |
| 3433 | 3447 | */ |
| 3434 | 3448 | /* |
| 3435 | 3449 | ** SETTING: self-register boolean default=off |
| 3436 | 3450 | ** Allow users to register themselves through the HTTP UI. |
| 3437 | 3451 | ** This is useful if you want to see other names than |
| 3438 | 3452 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -3424,14 +3424,28 @@ | |
| 3424 | ** of correctness. Disable this on large repositories for a performance |
| 3425 | ** improvement. |
| 3426 | */ |
| 3427 | /* |
| 3428 | ** SETTING: repolist-skin width=2 default=0 |
| 3429 | ** If non-zero then this repository desires to be used as the skin for |
| 3430 | ** repository lists. If 2, then use then omit this repository from the |
| 3431 | ** list for directory-scan lists. The repository is always displayed |
| 3432 | ** in lists for "fossil all ui" or "fossil all server". |
| 3433 | */ |
| 3434 | /* |
| 3435 | ** SETTING: self-register boolean default=off |
| 3436 | ** Allow users to register themselves through the HTTP UI. |
| 3437 | ** This is useful if you want to see other names than |
| 3438 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -3424,14 +3424,28 @@ | |
| 3424 | ** of correctness. Disable this on large repositories for a performance |
| 3425 | ** improvement. |
| 3426 | */ |
| 3427 | /* |
| 3428 | ** SETTING: repolist-skin width=2 default=0 |
| 3429 | ** If non-zero then use this repository as the skin for a repository list |
| 3430 | ** such as created by the one of: |
| 3431 | ** |
| 3432 | ** 1) fossil server DIRECTORY --repolist |
| 3433 | ** 2) fossil ui DIRECTORY --repolist |
| 3434 | ** 3) fossil http DIRECTORY --repolist |
| 3435 | ** 4) (The "repolist" option in a CGI script) |
| 3436 | ** 5) fossil all ui |
| 3437 | ** 6) fossil all server |
| 3438 | ** |
| 3439 | ** All repositories are searched (in lexicographical order) and the first |
| 3440 | ** repository with a non-zero "repolist-skin" value is used as the skin |
| 3441 | ** for the repository list page. If none of the repositories on the list |
| 3442 | ** have a non-zero "repolist-skin" setting then the repository list is |
| 3443 | ** displayed using unadorned HTML ("skinless"). |
| 3444 | ** |
| 3445 | ** If repolist-skin has a value of 2, then the repository is omitted from |
| 3446 | ** the list in use cases 1 through 4, but not for 5 and 6. |
| 3447 | */ |
| 3448 | /* |
| 3449 | ** SETTING: self-register boolean default=off |
| 3450 | ** Allow users to register themselves through the HTTP UI. |
| 3451 | ** This is useful if you want to see other names than |
| 3452 |
+2
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -2,10 +2,12 @@ | ||
| 2 | 2 | |
| 3 | 3 | <a name='v2_10'></a> |
| 4 | 4 | <h2>Changes for Version 2.10 (pending)</h2> |
| 5 | 5 | |
| 6 | 6 | * Added support for [./serverext.wiki|CGI-based Server Extensions]. |
| 7 | + * Added the [/help?cmd=repolist-skin|repolist-skin] setting used to | |
| 8 | + add style to repository list pages. | |
| 7 | 9 | * Enhance the hierarchical display of Forum threads to do less |
| 8 | 10 | indentation and to provide links back to the previous message |
| 9 | 11 | in the thread. Provide sequential numbers for all messages in |
| 10 | 12 | a forum thread. |
| 11 | 13 | * Change the default [./hashpolicy.wiki|hash policy] to SHA3. |
| 12 | 14 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -2,10 +2,12 @@ | |
| 2 | |
| 3 | <a name='v2_10'></a> |
| 4 | <h2>Changes for Version 2.10 (pending)</h2> |
| 5 | |
| 6 | * Added support for [./serverext.wiki|CGI-based Server Extensions]. |
| 7 | * Enhance the hierarchical display of Forum threads to do less |
| 8 | indentation and to provide links back to the previous message |
| 9 | in the thread. Provide sequential numbers for all messages in |
| 10 | a forum thread. |
| 11 | * Change the default [./hashpolicy.wiki|hash policy] to SHA3. |
| 12 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -2,10 +2,12 @@ | |
| 2 | |
| 3 | <a name='v2_10'></a> |
| 4 | <h2>Changes for Version 2.10 (pending)</h2> |
| 5 | |
| 6 | * Added support for [./serverext.wiki|CGI-based Server Extensions]. |
| 7 | * Added the [/help?cmd=repolist-skin|repolist-skin] setting used to |
| 8 | add style to repository list pages. |
| 9 | * Enhance the hierarchical display of Forum threads to do less |
| 10 | indentation and to provide links back to the previous message |
| 11 | in the thread. Provide sequential numbers for all messages in |
| 12 | a forum thread. |
| 13 | * Change the default [./hashpolicy.wiki|hash policy] to SHA3. |
| 14 |