-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Partial include should show full file instead of stub when showing hidden lines. #618
Comments
Would you be able to show us an example of what you see versus what you expected to happen? |
Ok I think I understand this one because I think I'm having the same issue. When I have an external file that, say, looks like this:
And I include part of the file like this:
I correctly see the part of the file rendered: But when I click the "show hidden lines" link, I see this: The example has been wrapped in What would be nice is if clicking the "show hidden lines" link expanded to show the rest of the file instead, and only wrapping in I'm working on extracting TRPL's examples into external files, and this would be really nice to have. I'll probably give this a try soon. |
* Allow underscores in the link type name * Add some tests for include anchors * Include parts of Rust files and hide the rest Fixes #618. * Increase min supported Rust version to 1.35 * Add a test for a behavior of rustdoc_include I want to depend on At first I thought this was a bug, but then I looked at some use cases we have in TRPL and decided this was a feature that I'd like to use.
* Allow underscores in the link type name * Add some tests for include anchors * Include parts of Rust files and hide the rest Fixes rust-lang#618. * Increase min supported Rust version to 1.35 * Add a test for a behavior of rustdoc_include I want to depend on At first I thought this was a bug, but then I looked at some use cases we have in TRPL and decided this was a feature that I'd like to use.
Currently, when parts of the code is included, the default stub is included.
The text was updated successfully, but these errors were encountered: