- 10 3月, 2014 11 次提交
-
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
Also, add license docs to installers
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
- 09 3月, 2014 24 次提交
-
-
由 bors 提交于
This gives Rustdoc the ability to render our guides, tutorial and manual and modifies the those documents (minor modifications) and makefiles to achieve this. See commits for more details (especially the makefile rewrite).
-
由 Huon Wilson 提交于
This restores the old behaviour (as compared to building PDF versions of all standalone docs), because some of the guides use unicode characters, which seems to make pdftex unhappy.
-
由 Huon Wilson 提交于
parsing limitations. Sundown parses ``` ~~~ as a valid codeblock (i.e. mismatching delimiters), which made using rustdoc on its own documentation impossible (since it used nested codeblocks to demonstrate how testable codesnippets worked). This modifies those snippets so that they're delimited by indentation, but this then means they're tested by `rustdoc --test` & rendered as Rust code (because there's no way to add `notrust` to indentation-delimited code blocks). A comment is added to stop the compiler reading the text too closely, but this unfortunately has to be visible in the final docs, since that's the text on which the highlighting happens.
-
由 Huon Wilson 提交于
This is meant to be compiling a crate, but the crate_id attribute seems to be upsetting it if the attribute is actually on the crate. I.e. this makes this test compile by putting the crate_id attribute on a function and so it's ignored. Such a hack. :(
-
由 Huon Wilson 提交于
E.g. this stops check-...-doc rules for `rustdoc.md` and `librustdoc` from stamping on each other, so that they are correctly built and tested. (Previously only the rustdoc crate was tested.)
-
由 Huon Wilson 提交于
This converts it to be very similar to crates.mk, with a single list of the documentation items creating all the necessary bits and pieces. Changes include: - rustdoc is used to render HTML & test standalone docs - documentation building now obeys NO_REBUILD=1 - testing standalone docs now obeys NO_REBUILD=1 - L10N is slightly less broken (in particular, it shares dependencies and code with the rest of the code) - PDFs can be built for all documentation items, not just tutorial and manual - removes the obsolete & unused extract-tests.py script - adjust the CSS for standalone docs to use the rustdoc syntax highlighting
-
由 Huon Wilson 提交于
The changes are basically just because rustdoc runs tests/rendering on more snippets by default (i.e. everything without a `notrust` tag), and not anything significant.
-
由 Huon Wilson 提交于
The manual, tutorial and guides need the feature gates quite often, unfortunately, so this is the low-cost path to migrating to use rustdoc. This is only activated for pure-Markdown files. Preferably this would be avoided: #12773
-
由 Huon Wilson 提交于
This avoids having to include JS in the guide/tutorial/manual pages just to get the headers being links. The on-hover behaviour showing the little section marker § is preserved, because that gives a useful hint that the heading is a link.
-
由 Huon Wilson 提交于
markdown files. This means that # Foo ## Bar # Baz ### Qux ## Quz Gets a TOC like 1 Foo 1.1 Bar 2 Baz 2.0.1 Qux 2.1 Quz This functionality is only used when rendering a single markdown file, never on an individual module, although it could very feasibly be extended to allow modules to opt-in to a table of contents (std::fmt comes to mind).
-
由 Huon Wilson 提交于
This theoretically gives rustdoc the ability to render our guides, tutorial and manual (not in practice, since the files themselves need to be adjusted slightly to use Sundown-compatible functionality). Fixes #11392.
-
由 bors 提交于
This is useful for code that would be expensive to run or has some kind of external dependency (e.g. a database or server).
-
由 bors 提交于
Refactored get_metadata_section to return a Result<MetadataBlob,~str> instead of a Option<MetadataBlob>. This provides more clarity to the user through the debug output when using --ls. This is kind of a continuation of my original closed pull request 2 months ago (#11544), but I think the time-span constitutes a new pull request.
-
由 Steven Fackler 提交于
This is useful for code that would be expensive to run or has some kind of external dependency (e.g. a database or server).
-
由 bors 提交于
Fixes #12698
-
由 Robert Gawdzik 提交于
-
由 bors 提交于
This is mostly a reaction to #12730. If we are going to keep calling them `char`, at least make it clear that they aren't characters but codepoint/scalar.
-
由 bors 提交于
Change `~[T]` to Vec<T> in librustc. Rebased and amended version of PR #12716. Original author (or perhaps I should say meta-author) was @pcwalton, as is reflected in the commits. I clean up! :)
-
由 Felix S. Klock II 提交于
(Original PR was #12716; feedback was provided by thestinger and me.)
-
由 Patrick Walton 提交于
-
由 Felix S. Klock II 提交于
-
由 Patrick Walton 提交于
-
由 Michael Darakananda 提交于
-
由 Patrick Walton 提交于
-
- 08 3月, 2014 5 次提交
-
-
由 Luca Bruno 提交于
XID_* property are defined in UAX #31, just reference it here. Signed-off-by: NLuca Bruno <lucab@debian.org>
-
由 Luca Bruno 提交于
Uniform and beautify doc-string for current rustdoc output. Signed-off-by: NLuca Bruno <lucab@debian.org>
-
由 Luca Bruno 提交于
This seems to be causing some confusion among users. Rust's char are not 8bit characters, but 32bit UCS-4 codepoint without surrogates (Unicode Scalar Values as per Unicode glossary). Make the doc more explicit about it. Signed-off-by: NLuca Bruno <lucab@debian.org>
-
由 bors 提交于
* `Ord` inherits from `Eq` * `TotalOrd` inherits from `TotalEq` * `TotalOrd` inherits from `Ord` * `TotalEq` inherits from `Eq` This is a partial implementation of #12517.
-
由 Daniel Micay 提交于
* `Ord` inherits from `Eq` * `TotalOrd` inherits from `TotalEq` * `TotalOrd` inherits from `Ord` * `TotalEq` inherits from `Eq` This is a partial implementation of #12517.
-