Skip to content

Commit 5502b7f

Browse files
committed
Remove unused classes, better installer, updated readme
1 parent bdd3f2f commit 5502b7f

File tree

3 files changed

+8
-140
lines changed

3 files changed

+8
-140
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ But with PHPFUI\InstaDoc, you can document your site in about a minute (OK, mayb
2929
* Uses [Foundation CSS framework](https://get.foundation) for a great experience on mobile
3030

3131
### Install PHPFUI\InstaDoc (requires PHP >= 7.3)
32+
```
3233
composer require phpfui/InstaDoc
33-
34+
```
3435
### Run Installation Script
3536
Once installed, you need to run an installation script to copy static files to your public directory. From your project root, run the following:
36-
37-
**php vendor/phpfui/instadoc/install.php yourPublicDirectory/subDirectory**
38-
37+
```
38+
php vendor/phpfui/instadoc/install.php yourPublicDirectory/subDirectory
39+
```
3940
Example: **php vendor/phpfui/instadoc/install.php public/PHPFUI** will add all needed files to public/PHPFUI, which will avoid any conflicts with your current files. You can specify any directory by using \PHPFUI\Page::setResourcePath, but PHPFUI is recomended to keep things simple.
4041

4142
### Create Document Page

highlighter/styles/PHPFUI.css

+1-133
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050

5151
.hljs-class {
52-
color: #8FBCBB;
52+
color: White;
5353
}
5454

5555
.hljs-function {
@@ -176,135 +176,3 @@
176176
color: #5E81AC;
177177
}
178178

179-
.abnf .hljs-attribute {
180-
color: #88C0D0;
181-
}
182-
183-
.abnf .hljs-symbol {
184-
color: #EBCB8B;
185-
}
186-
187-
.apache .hljs-attribute {
188-
color: #88C0D0;
189-
}
190-
191-
.apache .hljs-section {
192-
color: #81A1C1;
193-
}
194-
195-
.arduino .hljs-built_in {
196-
color: #88C0D0;
197-
}
198-
199-
.aspectj .hljs-meta {
200-
color: #D08770;
201-
}
202-
203-
.aspectj > .hljs-title {
204-
color: #88C0D0;
205-
}
206-
207-
.bnf .hljs-attribute {
208-
color: #8FBCBB;
209-
}
210-
211-
.clojure .hljs-name {
212-
color: #88C0D0;
213-
}
214-
215-
.clojure .hljs-symbol {
216-
color: #EBCB8B;
217-
}
218-
219-
.coq .hljs-built_in {
220-
color: #88C0D0;
221-
}
222-
223-
.cpp .hljs-meta-string {
224-
color: #8FBCBB;
225-
}
226-
227-
.css .hljs-built_in {
228-
color: #88C0D0;
229-
}
230-
231-
.css .hljs-keyword {
232-
color: #D08770;
233-
}
234-
235-
.diff .hljs-meta {
236-
color: #8FBCBB;
237-
}
238-
239-
.ebnf .hljs-attribute {
240-
color: #8FBCBB;
241-
}
242-
243-
.glsl .hljs-built_in {
244-
color: #88C0D0;
245-
}
246-
247-
.groovy .hljs-meta:not(:first-child) {
248-
color: #D08770;
249-
}
250-
251-
.haxe .hljs-meta {
252-
color: #D08770;
253-
}
254-
255-
.java .hljs-meta {
256-
color: #D08770;
257-
}
258-
259-
.ldif .hljs-attribute {
260-
color: #8FBCBB;
261-
}
262-
263-
.lisp .hljs-name {
264-
color: #88C0D0;
265-
}
266-
267-
.lua .hljs-built_in {
268-
color: #88C0D0;
269-
}
270-
271-
.moonscript .hljs-built_in {
272-
color: #88C0D0;
273-
}
274-
275-
.nginx .hljs-attribute {
276-
color: #88C0D0;
277-
}
278-
279-
.nginx .hljs-section {
280-
color: #5E81AC;
281-
}
282-
283-
.pf .hljs-built_in {
284-
color: #88C0D0;
285-
}
286-
287-
.processing .hljs-built_in {
288-
color: #88C0D0;
289-
}
290-
291-
.scss .hljs-keyword {
292-
color: #81A1C1;
293-
}
294-
295-
.stylus .hljs-keyword {
296-
color: #81A1C1;
297-
}
298-
299-
.swift .hljs-meta {
300-
color: #D08770;
301-
}
302-
303-
.vim .hljs-built_in {
304-
color: #88C0D0;
305-
font-style: italic;
306-
}
307-
308-
.yaml .hljs-meta {
309-
color: #D08770;
310-
}

install.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
$phpfuiInstaller->copyFiles('../..', $vendor);
2222

2323
$css = [];
24-
$css['instadoc/highlighter/styles'] = [
25-
'PHP.css' => 'highlighter/styles',
26-
'PHPFUI.css' => 'highlighter/styles',
24+
$css['instadoc/highlighter'] = [
25+
'styles' => 'highlighter',
2726
];
2827

2928
$phpfuiInstaller->copyFiles('..', $css);

0 commit comments

Comments
 (0)