1. 24 7月, 2014 2 次提交
    • A
      rustdoc: make table of contents optional · 31ac8a90
      Aaron Turon 提交于
      rustdoc currently determines whether to produce a table of
      contents (along with numbered sections) from the input type: yes for
      markdown input, no for Rust input. This commit adds a flag to disable
      the table of contents for markdown input, which is useful for embedding
      the output in a larger context.
      31ac8a90
    • B
      collections: Deprecate shift/unshift · 9db1d356
      Brian Anderson 提交于
      Use insert/remove instead.
      9db1d356
  2. 22 7月, 2014 1 次提交
  3. 17 7月, 2014 1 次提交
  4. 30 6月, 2014 1 次提交
  5. 26 6月, 2014 1 次提交
  6. 07 6月, 2014 2 次提交
    • A
      rustdoc: Submit examples to play.rust-lang.org · e5bbbca3
      Alex Crichton 提交于
      This grows a new option inside of rustdoc to add the ability to submit examples
      to an external website. If the `--markdown-playground-url` command line option
      or crate doc attribute `html_playground_url` is present, then examples will have
      a button on hover to submit the code to the playground specified.
      
      This commit enables submission of example code to play.rust-lang.org. The code
      submitted is that which is tested by rustdoc, not necessarily the exact code
      shown in the example.
      
      Closes #14654
      e5bbbca3
    • A
      doc: Turn off special features for rustdoc tests · cc63d4c6
      Alex Crichton 提交于
      These were only used for the markdown tests, and there's no reason they should
      be distinct from the other tests.
      cc63d4c6
  7. 06 6月, 2014 1 次提交
  8. 28 5月, 2014 1 次提交
  9. 25 5月, 2014 1 次提交
  10. 23 5月, 2014 1 次提交
  11. 15 5月, 2014 1 次提交
  12. 13 5月, 2014 1 次提交
  13. 19 4月, 2014 1 次提交
  14. 11 4月, 2014 1 次提交
  15. 10 4月, 2014 1 次提交
  16. 07 4月, 2014 1 次提交
  17. 21 3月, 2014 2 次提交
  18. 20 3月, 2014 1 次提交
  19. 17 3月, 2014 2 次提交
  20. 10 3月, 2014 1 次提交
    • A
      doc: CSS fixes · 7979ae53
      Adrien Tétar 提交于
      - fixup and refactor highlighting code
      - have a proper print stylesheet
      7979ae53
  21. 09 3月, 2014 3 次提交
    • H
      rustdoc: adding some common feature gates when testing a markdown file. · 8e904120
      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
      8e904120
    • H
      rustdoc: add table-of-contents recording & rendering, use it with plain · f22c96cc
      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).
      f22c96cc
    • H
      rustdoc: run on plain Markdown files. · 69b8ef80
      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.
      69b8ef80