Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
cc440d0a
Commit
cc440d0a
authored
Jan 02, 2014
by
Matt Martz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add staticmin make target for compressing docs related css and js files, currently only theme.css
parent
e3c0c148
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
docsite/Makefile
+7
-3
No files found.
docsite/Makefile
View file @
cc440d0a
...
...
@@ -4,13 +4,13 @@ FORMATTER=../hacking/module_formatter.py
all
:
clean docs
docs
:
clean modules
docs
:
clean modules
staticmin
./build-site.py
viewdocs
:
clean
viewdocs
:
clean
staticmin
./build-site.py view
htmldocs
:
htmldocs
:
staticmin
./build-site.py rst
clean
:
...
...
@@ -18,6 +18,8 @@ clean:
-
rm
-f
.buildinfo
-
rm
-f
*
.inv
-
rm
-rf
*
.doctrees
@
echo
"Cleaning up minified css files"
find
.
-type
f
-name
"*.min.css"
-delete
@
echo
"Cleaning up byte compiled python stuff"
find
.
-regex
".*
\.
py[co]
$$
"
-delete
@
echo
"Cleaning up editor backup files"
...
...
@@ -29,4 +31,6 @@ clean:
modules
:
$(FORMATTER) ../hacking/templates/rst.j2
PYTHONPATH
=
../lib
$(FORMATTER)
-t
rst
--template-dir
=
../hacking/templates
--module-dir
=
../library
-o
rst/
staticmin
:
yuicompressor
--type
css
-o
_themes/srtd/static/css/theme.min.css _themes/srtd/static/css/theme.css
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment