Git Product home page Git Product logo

Comments (7)

fmease avatar fmease commented on September 15, 2024 1

We could add a perma-unstable -Z flag which switches from static inclusion via include_bytes (html/static_files.rs) to dynamic inclusion to improve this workflow.

from rust.

GuillaumeGomez avatar GuillaumeGomez commented on September 15, 2024

What do you mean by "Don't check-in"?

from rust.

camelid avatar camelid commented on September 15, 2024

Oh I thought the generated files were checked-in to git and that's why you edited the wrong file. What is it that you edited?

from rust.

GuillaumeGomez avatar GuillaumeGomez commented on September 15, 2024

I run x.py doc std and then edit the generated main.js (which I unminify) in the build doc directory. It's much faster this way since I don't have to rebuild the documentation every time I make a change. I do the same with CSS. Problem is that I forgot to copy some changes. 😅

from rust.

GuillaumeGomez avatar GuillaumeGomez commented on September 15, 2024

I'm not sure if it's worth having such an option but could be worth a try.

from rust.

notriddle avatar notriddle commented on September 15, 2024

Could add a custom x command to assemble a standard library doc folder with symlinked main.js etc.

from rust.

GuillaumeGomez avatar GuillaumeGomez commented on September 15, 2024

That would be convenient indeed. 👍

from rust.

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.