Code Monkey home page Code Monkey logo

Comments (3)

zzmp avatar zzmp commented on July 4, 2024

A temporary solution for this may be to remove it from the crate, and compile your public docs manually with rustdoc.

Running cargo doc --verbose should let you see the appropriate command, which you can then copy and amend with --html-before-content .a/wrapper/for/github/png/but.html.

This will also prevent the layout from changing when you use your docs to look at the rust-encoding crate (although the banner will still point to this repo).

from rust-url.

SimonSapin avatar SimonSapin commented on July 4, 2024

Having the banner collapse with the description is surprising, but it’s not really a problem IMO. I did use --html-before-content at some point, but the banner (on either side) doesn’t work so well in rustdoc’s current layout so I went back to having it only on the "main" page.

Also, having the rust-url "fork me" banner on rust-encoding docs doesn’t make much sense. I’m not so sure I want to have rust-encoding docs under http://servo.github.io/rust-url/ at all, but oh well.

Regarding --html-before-content with cargo doc, see rust-lang/cargo#331.

from rust-url.

SimonSapin avatar SimonSapin commented on July 4, 2024

Closing. The issue as described still exists, but I don’t know a good way to fix it. That banner is not very important anyway.

from rust-url.

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.