source/render plain text file to html
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linaro-license-protection |
Fix Released
|
High
|
Georgy Redkozubov |
Bug Description
On releases/
We would like to reuse the plain text file(s) [2] to avoid to write a copy in HEADER.html.
In addition, the plain text file(s) will be soon generated as a build artifact by the build system.
The idea is that we can have several files to source (e.g. INSTALL README GETSOURCE HACKING)
and we would like to be able to include a <%source INSTALL%> in HEADER.html file to source/render it.
You'll find attached an example of such HEADER.html/README files, using the new %source% annotation.
[1] http://
[2] http://
Related branches
- Данило Шеган (community): Approve
-
Diff: 422 lines (+287/-0)14 files modifiedlicense_protected_downloads/tests/test_views.py (+149/-0)
license_protected_downloads/tests/testserver_root/README (+1/-0)
license_protected_downloads/tests/testserver_root/readme/HACKING (+1/-0)
license_protected_downloads/tests/testserver_root/readme/HEADER.html (+37/-0)
license_protected_downloads/tests/testserver_root/readme/INSTALL (+1/-0)
license_protected_downloads/tests/testserver_root/readme/README (+1/-0)
license_protected_downloads/tests/testserver_root/readme/subdir/README (+1/-0)
license_protected_downloads/views.py (+54/-0)
sampleroot/README (+1/-0)
sampleroot/readme/HACKING (+1/-0)
sampleroot/readme/HEADER.html (+37/-0)
sampleroot/readme/INSTALL (+1/-0)
sampleroot/readme/README (+1/-0)
sampleroot/readme/subdir/README (+1/-0)
Changed in linaro-license-protection: | |
milestone: | none → backlog |
Changed in linaro-license-protection: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | backlog → none |
Changed in linaro-license-protection: | |
assignee: | nobody → Georgy Redkozubov (gesha) |
Anmar suggested to look at the markup add-on for django: www.freewisdom. org/projects/ python- markdown/ Django
http://