Skip to content

Commit 07e0074

Browse files
Move html styles to common
Move all styles of HTML to common lib. Modify replacing in HtmlHelpService to use global match in order to replace all strings in the html. Replace HTML_HELPERS_DIR from StaticConfig with HTML_COMMON_HELPERS_DIR and HTML_CLI_HELPERS_DIR. The idea is to have specific helpers for each CLI and common helpers. Add favicon and logo to docs/helpers dir.
1 parent 8c955eb commit 07e0074

File tree

6 files changed

+5
-26
lines changed

6 files changed

+5
-26
lines changed

docs/helpers/basic-page.html

-12
This file was deleted.

docs/helpers/favicon.ico

32.2 KB
Binary file not shown.

docs/helpers/logo.png

2.19 KB
Loading

docs/helpers/styles.css

-13
This file was deleted.

lib/config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,9 @@ export class StaticConfig extends staticConfigBaseLibPath.StaticConfigBase imple
5252
public get helpTextPath(): string {
5353
return path.join(__dirname, "../resources/help.txt");
5454
}
55+
56+
public get HTML_CLI_HELPERS_DIR(): string {
57+
return path.join(__dirname, "../docs/helpers");
58+
}
5559
}
5660
$injector.register("staticConfig", StaticConfig);

0 commit comments

Comments
 (0)