GithubHelp home page GithubHelp logo

All interfaces not generated about html-build HOT 6 CLOSED

whatwg avatar whatwg commented on June 18, 2024
All interfaces not generated

from html-build.

Comments (6)

domenic avatar domenic commented on June 18, 2024

@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.

sideshowbarker avatar sideshowbarker commented on June 18, 2024

Yeah, will look at this today or this weekend, if I don’t manage to make enough time for it today

from html-build.

annevk avatar annevk commented on June 18, 2024

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.

annevk avatar annevk commented on June 18, 2024

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.

annevk avatar annevk commented on June 18, 2024

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.

Hixie avatar Hixie commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.