Mir

Merge lp:~vanvugt/mir/fix-1304998 into lp:mir

Proposed by Daniel van Vugt
Status: Merged
Approved by: Daniel van Vugt
Approved revision: no longer in the source branch.
Merged at revision: 1562
Proposed branch: lp:~vanvugt/mir/fix-1304998
Merge into: lp:mir
Diff against target: 39 lines (+4/-4)
1 file modified
doc/Doxyfile.in (+4/-4)
To merge this branch: bzr merge lp:~vanvugt/mir/fix-1304998
Reviewer Review Type Date Requested Status
Kevin DuBois (community) Approve
Robert Carr (community) Approve
Andreas Pokorny (community) Approve
Alan Griffiths Needs Fixing
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+215793@code.launchpad.net

Commit message

First attempt at shrinking the docs. For me, this reduces the expanded
size from 119M to 65M. And 11M compressed (from 56M). (LP: #1304998)

Description of the change

I've had more ideas on how we might improve this. But none proven. Here's how far I got in London...

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

Due to the switch to xhtml firefox seems to be checking for matching open </close tags.. and we have an xhtml error in our footer file. There is </hr> missing. Doxygen pastes the footer to every xhtml file. xmllint seems to complain about other errors too..

review: Needs Fixing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ah, thanks. I forgot people still use Firefox :)

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

@"Keep the old .html extension to avoid confusing Firefox, despite what Doxygen recommends."

Wouldn't it be better to fix doc/footer.html.in?

review: Needs Fixing
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

you could also just fix the xml errors :)

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

No, footer.html is correct already. If I remove the closing tags then it produces incorrect .html files without any closing "html" or "body".

Also, making that (spurious) change does not resolve all of Firefox's complaints about XML parsing. Only using an "html" extension instead of "xhtml" does.

Revision history for this message
Robert Carr (robertcarr) wrote :

119 was a more impressive number of docs but if you insist.

review: Approve
Revision history for this message
Kevin DuBois (kdub) wrote :

the size of the doc package is something that's irked me in the past, looks like a good way to reduce the size to me.

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Consider this: Our source code release tarballs are always 800 KB. So really any docs measured in tens of megabytes indicates some real inefficiencies in Doxygen. But we can work on that...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/Doxyfile.in'
2--- doc/Doxyfile.in 2014-03-06 06:05:17 +0000
3+++ doc/Doxyfile.in 2014-04-15 09:09:19 +0000
4@@ -118,7 +118,7 @@
5 # Doxygen will generate a detailed section even if there is only a brief
6 # description.
7
8-ALWAYS_DETAILED_SEC = YES
9+ALWAYS_DETAILED_SEC = NO
10
11 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
12 # inherited members of a class in the documentation of that class as if those
13@@ -382,7 +382,7 @@
14 # defined locally in source files will be included in the documentation.
15 # If set to NO only classes defined in header files are included.
16
17-EXTRACT_LOCAL_CLASSES = YES
18+EXTRACT_LOCAL_CLASSES = NO
19
20 # This flag is only useful for Objective-C code. When set to YES local
21 # methods, which are defined in the implementation section but not in
22@@ -748,7 +748,7 @@
23 # against the file with absolute path, so to exclude all test directories
24 # for example use the pattern */test/*
25
26-EXCLUDE_PATTERNS = */include/mir_test*
27+EXCLUDE_PATTERNS = */include/test/* */3rd_party/*
28
29 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
30 # (namespaces, classes, functions, etc.) that should be excluded from the
31@@ -1866,7 +1866,7 @@
32 # HTML_FILE_EXTENSION to xhtml in order to make the SVG files
33 # visible in IE 9+ (other browsers do not have this requirement).
34
35-DOT_IMAGE_FORMAT = png
36+DOT_IMAGE_FORMAT = svg
37
38 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
39 # enable generation of interactive SVG images that allow zooming and panning.

Subscribers

People subscribed via source and target branches