-
Notifications
You must be signed in to change notification settings - Fork 97
/
README
59 lines (37 loc) · 1.87 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
ffmpeg.org official website
GENERATE THE WEBSITE
--------------------
`lessc` and `clean-css` are required to generate CSS of the website.[1]
Type `make` to generate the website.
Type `make clean` to remove the generated files.
GENERATE THE DOCUMENTATION
--------------------------
/!\ None of the generated versions of the website contain the documentation.
To generate the documentation pages, just `./generate-doc.sh <ffmpeg-src>`.
In case of a major CSS update, please also update the `style.min.css` file in
the main FFmpeg repo
$ cp htdocs/css/{bootstrap.min.css,style.min.css} /path/to/ffmpeg/doc/
WEBSITE DEVELOPERS INSTRUCTIONS
-------------------------------
npm, lessc and bower are required to generate the website in development.[2]
Type `make DEV=1` to generate the website for development.
Type `make clean DEV=1` to remove the generated files.
In development mode, the external dependencies are downloaded through bower.
Thanks to lessc, you can edit the *.less sources and see the changes on your
browser without having to reload it.
-----
[1] lessc is available on the packages of some distributions.
Otherwise, follow the instructions in [2].
lessc depends on lots of stuff including npm, so if you wish to use a lighter version,
you might want to check out the C++ version: http://www.vanderkroef.net/clessc.html
[2] Install instructions, 2 methods:
- Install everything globally (root required)
- Install npm from the packages or the sources: http://nodejs.org/
- Install lessc and bower using npm:
$ sudo npm install -g bower less clean-css
- Install only npm globally
- Install npm from the packages or the sources: http://nodejs.org/
- Install lessc and bower in the current directory using npm:
$ npm install bower less clean-css
- Add the path to your environment:
$ export PATH=`pwd`/node_modules/bower/bin:`pwd`/node_modules/less/bin:$PATH