mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-18 20:51:22 +02:00
docs: Enable README code block syntax highlight
This commit is contained in:
committed by
Peter Dave Hello
parent
c18adfb3a0
commit
64534be76e
10
README.md
10
README.md
@@ -25,21 +25,29 @@ Let's assume you have a folder named `share` in your server root directory (the
|
|||||||
|
|
||||||
So...
|
So...
|
||||||
|
|
||||||
|
```ApacheConf
|
||||||
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
||||||
|
```
|
||||||
|
|
||||||
Should be changed to...
|
Should be changed to...
|
||||||
|
|
||||||
|
```ApacheConf
|
||||||
AddIcon /share/theme/icons/gif.png .gif
|
AddIcon /share/theme/icons/gif.png .gif
|
||||||
|
```
|
||||||
|
|
||||||
* Edit `footer.html` (now in the `/share/theme` folder) and update all instances of paths marked with *{FOLDERNAME}* to point to your site root.
|
* Edit `footer.html` (now in the `/share/theme` folder) and update all instances of paths marked with *{FOLDERNAME}* to point to your site root.
|
||||||
|
|
||||||
So...
|
So...
|
||||||
|
|
||||||
|
```html
|
||||||
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
|
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
|
||||||
|
```
|
||||||
|
|
||||||
Should be changed to...
|
Should be changed to...
|
||||||
|
|
||||||
|
```html
|
||||||
<script src=/share/theme/apaxy.js></script>
|
<script src=/share/theme/apaxy.js></script>
|
||||||
|
```
|
||||||
|
|
||||||
* Once done, rename `htaccess.txt` to `.htaccess` in both the `/share` and `/share/theme` folders.
|
* Once done, rename `htaccess.txt` to `.htaccess` in both the `/share` and `/share/theme` folders.
|
||||||
* [Treat yo'self](http://25.media.tumblr.com/tumblr_lw7q28y0Mz1qanm80o1_500.gif), you're done.
|
* [Treat yo'self](http://25.media.tumblr.com/tumblr_lw7q28y0Mz1qanm80o1_500.gif), you're done.
|
||||||
@@ -63,7 +71,9 @@ Edit these as you would any other HTML or CSS file.
|
|||||||
|
|
||||||
Adding your own icons is a little more involved. You'll need to edit the main Apaxy `.htaccess` file. Look for the following as an example:
|
Adding your own icons is a little more involved. You'll need to edit the main Apaxy `.htaccess` file. Look for the following as an example:
|
||||||
|
|
||||||
|
```ApacheConf
|
||||||
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
||||||
|
```
|
||||||
|
|
||||||
The above rule will assign an icon named `gif.png` from the directory `/{FOLDERNAME}/theme/icons/` to any file with the `.gif` extension.
|
The above rule will assign an icon named `gif.png` from the directory `/{FOLDERNAME}/theme/icons/` to any file with the `.gif` extension.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user