-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement markdown rendering #2
base: master
Are you sure you want to change the base?
Conversation
@alexcrichton Hi! I'm trying to replace hoedown with pulldown-cmark in rustdoc. I have small doubt in the codebase: When is |
Ah yeah we use rustdoc to generate "standalone documentation" from markdown files for the book as well as some other main docs in rust at least. |
Oh! I was under the impression that book generation was moved to another project like mdbook. I suspect the reason it's not done yet is due to lack of example testing in mdBook (and others?). Thanks for the reply. |
Ah yeah we may one day move to something like mdBook but right now we're just trying to get rid of our makefiles :) |
f432b6e
to
1843e1a
Compare
@alexcrichton This fork has become almost a drop-in for the original (see the checklist at the top), except for rendering of books (fixing that is not so hard as far as I've looked). But right now, it uses 2 libraries that are in development (no releases were made yet -- hamlet and cmark-hamlet). When all that is fixed, will the Rust devs be interested in merging this? |
Nice! Also quite exciting :) For us we don't really have the ability to pull in external dependencies just yet into the build, but we're getting close! Once the new build system is up to feature parity we can start pushing on that and then finally once we've deleted the makefiles we can start pulling in external dependencies. |
Sounds good! 👍 |
Out of curiosity how is one supposed to build this? I currently get:
Which makes sense considering all I did was clone this repo. It would be nice for the compiler crates to be hosted and detectable by cargo wouldn't it? |
Actually, all you need to do is clone the repo, or "was". This was |
80a86e0
to
a7355e8
Compare
@nixpulvis Done! As of now, it is |
Still just playing around, but out of curiosity, how are you expecting people to run this? Right now I get an error about a missing crate
|
Aren't you able to do |
cargo doc
id
s (needs more testing)docblock-short
rendering (ref)cargo test
(ref)MarkdownWithToc
(ref)Compare all changes