Use Pelican to build the index file for the app theme

Bug #1434421 reported by David Planella
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Help App
David Planella

Bug Description

Right now the app theme is a handcrafted index.html file that uses JavaScript to load each one of the individual pages and insert the HTML into it (*).

While that worked very well for the first release, it'd be good to have a more modular approach to use Pelican templates to build the HTML and drop that bit of the JavaScript code. It seems we could do that with a custom template and using the PAGES variable to iterate through each page and insert their {{ page.content }}.

This depends on bug 1434405 being fixed.

(*) Note: the requirement to have all content in one page for the app theme still remains, as the tabbed interface for the phone needs to have all content in one place.

David Planella (dpm)
Changed in help-app:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → David Planella (dpm)
milestone: none → 0.2
David Planella (dpm)
Changed in help-app:
milestone: 0.2 → 0.3
Changed in help-app:
milestone: 0.3 → backlog
Revision history for this message
Daniel Holbach (dholbach) wrote :

Bug 1434405 is fixed now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.