Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev edition todos #27

Closed
5 tasks done
domenic opened this issue May 23, 2016 · 2 comments
Closed
5 tasks done

Dev edition todos #27

domenic opened this issue May 23, 2016 · 2 comments
Assignees

Comments

@domenic
Copy link
Member

domenic commented May 23, 2016

I spent some time today trying to re-create the dev edition from scratch using the Wattsi-produced output.

Here are the big to-dos I found:

  • In headings and the TOC, section numbers need to be wrapped with <span class="secno">
  • Splitting should be massively improved to give an outcome as good as the current dev edition. Probably every second-level section (e.g. 4.13) would get its own file.

Here are the minor todos that are fixable in postprocessing but maybe Wattsi should fix:

  • Don't output both the brief TOC and the full TOC. Just the full TOC suffices (with a single "Table of Contents" heading).
  • Remove the onload attribute from body.
  • Body should get an "index" class for the TOC page (index.html)
@sideshowbarker
Copy link
Contributor

sideshowbarker commented Apr 18, 2017

Splitting should be massively improved to give an outcome as good as the current dev edition. Probably every second-level section (e.g. 4.13) would get its own file.

See whatwg/html#2552, which adds the split-filename attribute to a bunch of headings.

wattsi already supports splitting out a separate multipage file from a heading element at any level, for any heading element with a split-filename attribute. So as far as I can see, there’s no wattsi change needed for that particular to-do

domenic pushed a commit that referenced this issue Apr 18, 2017
domenic pushed a commit to whatwg/html that referenced this issue May 1, 2017
domenic added a commit that referenced this issue Jun 15, 2017
domenic added a commit that referenced this issue Jun 15, 2017
Omits the small TOC, fingerprint markers, and <pre class=idl> blocks.

Part of #27.
domenic added a commit that referenced this issue Jun 15, 2017
Omits the small TOC, fingerprint markers, and <pre class=idl> blocks.

Part of #27.
domenic added a commit that referenced this issue Jun 20, 2017
Omits the small TOC, fingerprint markers, and <pre class=idl> blocks.

Part of #27.
domenic added a commit that referenced this issue Jun 21, 2017
@domenic
Copy link
Member Author

domenic commented Jun 21, 2017

Going to close this in favor of #50 and one other new issue about TOC levels, as we have something that mostly works.

@domenic domenic closed this as completed Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants