Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
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
django-wiki
Commits
f1bad2dd
Commit
f1bad2dd
authored
Nov 14, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
automatically generate docs and CHANGELOG.md
parent
b757c6d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
8 deletions
+24
-8
build-sdist.sh
+24
-4
docs/build.sh
+0
-4
No files found.
build-sdist.sh
View file @
f1bad2dd
#!/bin/sh
#!/bin/
ba
sh
echo
"Compiling LESS files to CSS"
set
-e
# Ensure we're in the right directory
cd
"
$(
dirname
"
$0
"
)
"
CHANGELOG
=
"CHANGELOG.md"
echo
"Creating CHANGELOG.md"
echo
"Latest Changes"
>
$CHANGELOG
echo
"=============="
>>
$CHANGELOG
echo
"Compiled on:
`
date
`
"
>>
$CHANGELOG
echo
"
\n
This file is auto-generated upon every new release. To review the latest commits in the master branch, please refer to: https://github.com/benjaoming/django-wiki/commits/master"
echo
""
>>
$CHANGELOG
git log
--graph
--pretty
=
format:
'%h -%d %s (%cr) <%an>'
--abbrev-commit
| sed
"s/^/ /"
>>
$CHANGELOG
echo
"Compiling LESS files to CSS..."
./build-less.sh
./build-less.sh
echo
"Building model chart PDF (needs graphviz)"
echo
"Building docs..."
cd
docs
make html
cd
..
echo
"Building model chart PDF (needs graphviz)..."
cd
testproject/
cd
testproject/
./manage.py wikiviz wiki
--inheritance
| dot
-Tpdf
-o
../model_chart_wiki.pdf
./manage.py wikiviz wiki
--inheritance
| dot
-Tpdf
-o
../model_chart_wiki.pdf
cd
..
cd
..
echo
"Building Python source distribution"
echo
"Building Python source distribution
...
"
rm
-Rf
*
egg-info/
rm
-Rf
*
egg-info/
python setup.py sdist
python setup.py sdist
docs/build.sh
deleted
100755 → 0
View file @
b757c6d7
#!/bin/bash
#sphinx-build -b html . _build
make html
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