Commit Graph

72 Commits

Author SHA1 Message Date
Alex Crichton
7b24efd6f3 rustdoc: Out with the old, in with the new
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng
suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
2013-09-22 09:51:15 -07:00
bors
db78fdc10c auto merge of #9374 : alexcrichton/rust/rustdoc-web, r=cmr
This large commit implements and `html` output option for rustdoc_ng. The
executable has been altered to be invoked as "rustdoc_ng html <crate>" and
it will dump everything into the local "doc" directory. JSON can still be
generated by changing 'html' to 'json'.

This also fixes a number of bugs in rustdoc_ng relating to comment stripping,
along with some other various issues that I found along the way.

The `make doc` command has been altered to generate the new documentation into
the `doc/ng/$(CRATE)` directories.

Previews
* http://www.contrib.andrew.cmu.edu/~acrichto/doc/std/
* http://www.contrib.andrew.cmu.edu/~acrichto/doc/extra/

Missing features
* Different versions of documentation on the same page (all possibly indexed as well?) I think that this needs to be thought out before action is taken. It's an awesome idea, but it should be done carefully.
* Source links are missing. This is a little dependent on getting versions working. In theory we should link back to github, but we should always link back to the exact version the documentation was generated from.
* Integration with other tools. It would be awesome to have rustpkg-style inference of the package name and version so they don't have to be specified anywhere. Additionally, I should be able to build documentation for a pkgid, not necessarily a crate file.

cc @cmr/@Seldaek
2013-09-21 00:16:02 -07:00
Alex Crichton
4fd061c426 Implement a web backend for rustdoc_ng
This large commit implements and `html` output option for rustdoc_ng. The
executable has been altered to be invoked as "rustdoc_ng html <crate>" and
it will dump everything into the local "doc" directory. JSON can still be
generated by changing 'html' to 'json'.

This also fixes a number of bugs in rustdoc_ng relating to comment stripping,
along with some other various issues that I found along the way.

The `make doc` command has been altered to generate the new documentation into
the `doc/ng/$(CRATE)` directories.
2013-09-20 22:49:03 -07:00
bors
58424ebcb9 auto merge of #9349 : brson/rust/relnotes, r=thestinger 2013-09-20 18:01:04 -07:00
Alex Crichton
833a64d76e Invert --cfg debug to --cfg ndebug
Many people will be very confused that their debug! statements aren't working
when they first use rust only to learn that they should have been building with
`--cfg debug` the entire time. This inverts the meaning of the flag to instead
of enabling debug statements, now it disables debug statements.

This way the default behavior is a bit more reasonable, and requires less
end-user configuration. Furthermore, this turns on debug by default when
building the rustc compiler.
2013-09-20 12:10:04 -07:00
Brian Anderson
5a0f7aaced Add a note about improved rustc perf to 0.8 relnotes 2013-09-20 11:49:27 -07:00
Brian Anderson
e2e1061814 Fix spelling and phrasing in 0.8 release notes 2013-09-20 11:47:53 -07:00
Brian Anderson
3bd0eb9f63 0.8 release notes 2013-09-18 20:16:02 -07:00
Brian Anderson
9b8c435c8e More 0.7 release notes 2013-06-30 15:02:52 -07:00
Tim Chevalier
b854d6ea1c docs: Mention rustpkg in release notes 2013-06-27 23:20:42 -04:00
Brian Anderson
9423850fc3 More 0.7 release notes 2013-06-26 18:08:04 -04:00
Palmer Cox
711273f5b4 Implement the fixed output size versions of the SHA-2 digest functions. 2013-06-24 00:04:02 -04:00
Huon Wilson
769c2e5f99 Minor doc updates to reflect #[deriving(Zero)], and small release notes adjustments.
The `extra::fileinput` module landed just after 0.6 was released, and there are many
more derivable traits.
2013-06-21 00:55:13 -04:00
Brian Anderson
7d61b0083a More 0.7 release notes 2013-06-21 00:49:15 -04:00
Brian Anderson
a6bc5dd6ef More 0.7 release notes 2013-06-16 15:19:51 -07:00
Daniel Micay
ec27644870 automated whitespace fixes 2013-06-13 18:03:08 -04:00
Brian Anderson
59546689d5 Add some 0.7 release notes 2013-06-13 00:01:28 -07:00
Daniel Micay
86efd97a10 add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
Daniel Micay
a581926f57 update RELEASES.txt 2013-04-15 21:09:23 -04:00
Luqman Aden
4c58903454 Update RELEASES.txt
Fix typo and add fixed length vec changes.
2013-03-31 15:00:09 -07:00
Brian Anderson
e2ba58cd50 0.6 will be in April 2013-03-28 11:39:44 -07:00
bors
4de9a94407 auto merge of #5567 : jbclements/rust/release-note-macro-escape, r=thestinger 2013-03-27 15:30:58 -07:00
John Clements
969e8b76a1 added note about #[macro_escape] 2013-03-26 13:58:27 -07:00
Brian Anderson
8cb165a764 Update 0.6 release notes 2013-03-26 12:28:04 -07:00
Andrew Paseltiner
dcc88699d8 add deriving changes to release notes 2013-03-26 06:32:27 -04:00
Graydon Hoare
5f7b72eccf RELEASES.txt: wrong tick-mark 2013-03-25 15:53:02 -07:00
Graydon Hoare
62c1f049f8 RELEASES.txt: Mention asm!, add cset count and a hyphen. 2013-03-25 15:52:02 -07:00
Tim Chevalier
d049bf2492 Edit release notes a bit 2013-03-22 11:59:59 -07:00
Daniel Micay
9c32de59ac work on release notes
* make the changes regarding move semantics clearer
* expand on the container work
2013-03-13 16:49:24 -04:00
Brian Anderson
5d3d0890a7 Work on 0.6 release notes 2013-03-11 18:29:13 -07:00
kud1ing
48df2f4aaf core::send_map renamed to core::hashmap
Encountered this while trying to port rustsqlite to rust 0.6
2013-02-06 10:14:50 +01:00
Brian Anderson
bb66fce367 Mention module/type namespace merge in release notes 2012-12-19 14:43:58 -08:00
Brian Anderson
807ce62169 Mention flatpipes in release notes 2012-12-18 12:09:37 -08:00
Brian Anderson
0f5bd1e506 'trait constraints' -> 'trait inheritance' 2012-12-18 10:55:47 -08:00
Brian Anderson
72f8a03cfb ~900 changes in 0.5 2012-12-17 18:45:14 -08:00
Brian Anderson
ceca0e8bf5 Mention license change in release notes 2012-12-17 12:03:40 -08:00
Brian Anderson
0ac688328d Mention priority queue in release notes 2012-12-16 19:57:00 -08:00
Brian Anderson
d719eac8aa Use the term 'trait constraints' instead of 'inheritance' in release notes 2012-12-14 19:26:54 -08:00
Brian Anderson
88add6cbac Add a note about oldcomm to release notes 2012-12-14 15:31:55 -08:00
Patrick Walton
cf02c2badf etc: Update RELEASES.txt with some new features 2012-12-13 16:25:24 -08:00
Graydon Hoare
bcde593d3a RELEASES: tweak description of new quoter. 2012-12-07 11:21:31 -08:00
Paul Stansifer
b84caefdbc Mention statement macros also in release notes, for completeness. 2012-12-06 15:01:40 -08:00
Patrick Walton
b58e1f6690 doc: Add some stuff to RELEASES.txt for 0.5. rs=doc-only 2012-12-05 21:04:14 -08:00
Brian Anderson
784c1af8fd Start 0.5 release notes 2012-12-05 19:30:50 -08:00
Graydon Hoare
bbd16a0aba Tweak README.txt. 2012-10-10 14:08:40 -07:00
Brian Anderson
c74f87b31f Fix the 0.4 header in release notes 2012-10-03 17:49:09 -07:00
Brian Anderson
8ad5da9b58 0.4 slipped to October. So sad 2012-10-03 17:41:55 -07:00
Brian Anderson
3d45e55c97 Update 0.4 release notes 2012-10-03 17:41:08 -07:00
Brian Anderson
008bb6fe06 Mention fat arrow arms in release notes 2012-09-17 16:04:28 -07:00
Brian Anderson
6332c2d728 Headers are underlined in RELEASES.txt 2012-09-14 23:32:05 -07:00