rust/src/etc
Joshua Nelson 7411a9e7cc rustdoc: link to stable/beta docs consistently in documentation
## User-facing changes

- Intra-doc links to primitives that currently go to rust-lang.org/nightly/std/primitive.x.html will start going to channel that rustdoc was built with. Nightly will continue going to /nightly; Beta will link to /beta; stable compilers will link to /1.52.1 (or whatever version they were built as).
- Cross-crate links from std to core currently go to /nightly unconditionally. They will start going to /1.52.0 on stable channels (but remain the same on nightly channels).
- Intra-crate links from std to std (or core to core) currently go to the same URL they are hosted at; they will continue to do so. Notably, this is different from everything else because it can preserve the distinction between /stable and /1.52.0 by using relative links.

Note that "links" includes both intra-doc links and rustdoc's own
automatically generated hyperlinks.

 ## Implementation changes

- Update the testsuite to allow linking to /beta and /1.52.1 in docs
- Use an html_root_url for the standard library that's dependent on the channel

  This avoids linking to nightly docs on stable.

- Update rustdoc to use channel-dependent links for primitives from an
  unknown crate

- Set DOC_RUST_LANG_ORG_CHANNEL from bootstrap to ensure it's in sync
- Include doc.rust-lang.org in the channel
2021-06-04 14:18:21 -04:00
..
installer Remove legacy InnoSetup GUI installer 2020-05-25 13:53:02 +01:00
natvis Respond to review feedback 2021-06-02 10:23:12 -04:00
test-float-parse Run all tests if have no specified tests 2020-07-31 04:20:27 +00:00
third-party Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
cat-and-grep.sh Remove licenses 2018-12-25 21:08:33 -07:00
check_missing_items.py Make header a vec of modifiers, make FunctionPointer consistent with Function and Method. 2021-02-08 14:00:30 -05:00
CONFIGS.md Add sublime-rust to CONFIGS.md. 2016-08-22 01:24:01 -04:00
cpu-usage-over-time-plot.sh Fix bucket in CPU usage script 2019-07-03 10:19:59 -04:00
ctags.rust Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
dec2flt_table.py Change twice used large const table to static 2021-03-01 10:41:16 -08:00
gdb_load_rust_pretty_printers.py Implement new gdb/lldb pretty-printers 2020-06-09 16:13:11 +03:00
gdb_lookup.py Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
gdb_providers.py feat: Update hashbrown to instantiate less llvm IR 2021-03-16 11:20:26 +01:00
generate-deriving-span-tests.py Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
generate-keyword-tests.py remove unnecessary import statement 2020-02-08 00:03:51 -05:00
htmldocck.py rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
indenter fix some python3 incompatibilities 2017-11-16 13:34:13 -05:00
lldb_batchmode.py lldb_batchmode: show more error information 2020-11-03 12:01:46 +01:00
lldb_commands Remove redundant backslashes from lldb_commands 2020-10-06 11:57:51 +03:00
lldb_lookup.py Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
lldb_providers.py Fix HashMap/HashSet LLDB pretty-printer after hashbrown 0.11.0 2021-04-06 12:44:17 +03:00
pre-commit.sh fix typo in pre-commit.sh 2021-02-24 18:37:13 -05:00
rust-gdb Prefer sysroot from rustc in same directory as rust-gdb 2020-04-02 11:52:35 -07:00
rust-gdbgui Prefer sysroot from rustc in same directory as rust-gdb 2020-04-02 11:52:35 -07:00
rust-lldb Fix loading pretty-printers in rust-lldb script 2020-08-28 09:29:45 +03:00
rust-windbg.cmd Remove licenses 2018-12-25 21:08:33 -07:00
rust_types.py Implement new gdb/lldb pretty-printers 2020-06-09 16:13:11 +03:00
wasm32-shim.js std: Remove the wasm_syscall feature 2019-08-28 08:34:31 -07:00