1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-17 22:41:34 +02:00

docs: Enable README code block syntax highlight

This commit is contained in:
Peter Dave Hello
2018-02-23 02:03:29 +08:00
committed by Peter Dave Hello
parent c18adfb3a0
commit 64534be76e

View File

@@ -25,21 +25,29 @@ Let's assume you have a folder named `share` in your server root directory (the
So...
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
```ApacheConf
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
```
Should be changed to...
AddIcon /share/theme/icons/gif.png .gif
```ApacheConf
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.
So...
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
```html
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
```
Should be changed to...
<script src=/share/theme/apaxy.js></script>
```html
<script src=/share/theme/apaxy.js></script>
```
* 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.
@@ -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:
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
```ApacheConf
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.