Comments (6)
@sideshowbarker any chance you can help us debug this, since you're most familiar with Wattsi?
I suppose step 1 would be to see if rolling back to an earlier revision of html-build fixes this, but it seems unlikely...
from html-build.
Yeah, will look at this today or this weekend, if I don’t manage to make enough time for it today
from html-build.
From looking at the code this problem has existed all along. Basically cat $HTML_TEMP/wattsi-output/index-html | perl .post-process-index-generator.pl | perl .post-process-partial-backlink-generator.pl > $HTML_OUTPUT/index;
runs after Wattsi and never affects multipage.
from html-build.
Making that multipage-friendly seems non-trivial. That Perl script would have to keep track of what "multipage" section the interface appears in (to create hyperlinks that go across section boundaries). And basically aside from changing the main file, also change "indices.html" from multipage.
from html-build.
Doing this as a pre-process will likely not work since Wattsi seems to generate the IDs for partial interfaces. (Wattsi does correctly translate <a href="#...">
for existing IDs which seems quite great.)
However, the post-process never has access to split-filename=""
so doesn't know where the interfaces can be found. We could keep a map of <h2 id>
to split-filename=""
but that would be a bit of a hack.
from html-build.
All the perl scripts should really just be done in wattsi. They're just the bits I never got around to porting.
from html-build.
Related Issues (20)
- Update highlighter once it updates widlparser
- Build does not fail on invalid Web IDL HOT 5
- Review Drafts have MDN in them; they should not HOT 2
- --password warning HOT 2
- MDN boxes sometimes have multiple entries for the same browser HOT 3
- Remove caniuse boxes in favor of MDN compat data boxes? HOT 9
- Build failing, potentially Python? HOT 2
- Migrate to Python 3 HOT 2
- Use Docker Hub pdfsizeopt instead of downloading from GitHub
- Document why macOS cannot do HTTP/2 by default HOT 2
- Consider a "fast mode" for local iteration HOT 3
- .pre-process-main.pl can be simplified or rolled into Wattsi HOT 2
- Add service worker support
- html-build repo is missing License text file
- "Improvements to the CI Docker build" broken PDF links HOT 1
- `.cache` folder is not created by `build.sh` HOT 1
- Docker build fails on M1 MacBook HOT 5
- Build failing locally when trying to send to server HOT 1
- Local build doesn't catch HTML parsing errors
- Automatically generate bibliography entries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html-build.