This probably reflects the history of the code more than anything else -- when epydoc was written, css wasn't widely supported, so we had to make sure things would look good even if css was turned off. That's not so much of a problem now.
Patches for this are welcome (preferably patched against svn).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As you wished: here's a patch that removes the style information out of the html file. I checked to see if everything is placed in the css correctly (so it seems).
I had to add a hack to the _COLOR_RE expression, since it handles id's as colors :(.
While on the subject: I see a lot of tables being used. I already removed one (breadcrumbs), but most tabular data could be replaced by divs and some proper css. Are there any thoughts on this subject?
File Added: epydoc-no-embedded-styles.patch
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=195958
Originator: NO
This probably reflects the history of the code more than anything else -- when epydoc was written, css wasn't widely supported, so we had to make sure things would look good even if css was turned off. That's not so much of a problem now.
Patches for this are welcome (preferably patched against svn).
remove style info from html template and put everything in css
Logged In: YES
user_id=144333
Originator: YES
Hi,
As you wished: here's a patch that removes the style information out of the html file. I checked to see if everything is placed in the css correctly (so it seems).
I had to add a hack to the _COLOR_RE expression, since it handles id's as colors :(.
While on the subject: I see a lot of tables being used. I already removed one (breadcrumbs), but most tabular data could be replaced by divs and some proper css. Are there any thoughts on this subject?
File Added: epydoc-no-embedded-styles.patch
Logged In: YES
user_id=51702
Originator: NO
I like your patch alot. I also would really love to see more divs and less tables in epydoc to make it easier to customize the layout.
Logged In: YES
user_id=144333
Originator: YES
More divs and less tables would be the next step indeed.