Commit Graph

393 Commits

Author SHA1 Message Date
Martin Geisler
01d542a46d doc/ja: remove old Japanese man page translations
They were added way back in 2005 and haven't been updated since. They
are no longer referenced by the Makefiles at upper levels and have not
been shipped with a recent version of Mercurial.
2010-03-02 21:34:24 +01:00
Wagner Bruna
7733a703e9 doc/Makefile: fix doc generation when LANGUAGE is set 2010-02-24 13:47:59 -03:00
Steve Borho
aad9ecf6aa hgrc.5: document use of environment variables on Windows
This feature was introduced in c7a5a2c7063a
2010-02-15 20:28:42 -06:00
Matt Mackall
f4a529722f hgrc: update docs for the server section 2010-02-11 17:13:22 -06:00
Henrik Stuart
534ea9a0f8 doc: add missing documentation for http_proxy.always 2010-02-11 21:11:59 +01:00
Matt Mackall
a2acbc421b fix up a bunch of check-code warnings 2010-02-09 14:12:22 -06:00
Henrik Stuart
2d2f851cb8 url: SSL server certificate verification using web.cacerts file (issue1174) 2010-02-10 20:27:46 +01:00
Steve Borho
4bb4d09720 hgrc.5: Fix a typo 2010-02-08 06:24:34 -06:00
Steve Borho
9a5cb3aaab win32: allow hgrc.d on Windows 2010-02-07 05:34:22 -06:00
Martin Geisler
8664a6b426 Merge with stable. 2010-01-29 01:04:38 +01:00
Christian Ebert
42dde8faf8 hgrc.5: whether bcc is prompted for is up to the extension
There is no code in mail.py that forbids an extension to prompt for bcc.
2010-01-28 10:38:29 +00:00
Matt Mackall
8d99be19f0 many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
Matt Mackall
cd3ef170f7 Merge with stable 2010-01-19 22:45:09 -06:00
Matt Mackall
595d66f424 Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
Mads Kiilerich
3b9db3f9d9 Update test and man page for multiple matching encode/decode filters 2010-01-05 03:20:45 +01:00
Pascal Quantin
9e8542ebfd Update copyright year to 2010 2010-01-04 23:45:45 +01:00
Mads Kiilerich
30c9ad5ebc doc/Makefile: Fix rst2html detection
Displaying the output from the failing call to "which" didn't prevent
make from doing stupid things later. We now only search for "rst2html"
and fallback to "rst2html.py". If neither name is found, make will
eventually abort when we try to use $(RST2HTML).
2009-12-16 23:59:50 +01:00
Martin Geisler
b076a1e802 doc/Makefile: ensure C locale
The man pages can actually be translated by building them in a
different locale. However, the man pages contain internal links to
certain sections, and when the section titles are translated, the
links change too. So it is currently not recommended to build the man
pages in anything by the "C" locale.
2009-12-01 00:43:21 +01:00
Nicolas Dumazet
eb99c4418d doc/style: add orange border color to notes 2009-11-11 21:52:02 +01:00
Martin Geisler
8053426d1c hgrc.5: mark some words as inline literals 2009-11-11 21:45:13 +01:00
Martin Geisler
e4de4738b7 hgignore.5: fix typo 2009-11-11 21:29:35 +01:00
Martin Geisler
0d2ce52580 doc/style: fix typo in comment (by timeless) 2009-11-11 21:16:20 +01:00
Yuya Nishihara
4a0e94b4d0 doc/style: use default font color specified by user
* it's bad to specify only foreground color:
  http://www.w3.org/QA/Tips/color
* some people prefer dark background
* `color: #111' is mostly the same as `color: black',
  which is the default of almost all popular browsers.

so it's preferable to delete `color: #111', rather than adding
`background-color: white'.
2009-11-10 21:48:10 +09:00
Martin Geisler
d8dd14a3aa hgrc.5: oft-requested "hg update" hook example 2009-11-11 20:08:26 +01:00
Martin Geisler
d1b18c5ccd doc: fix language in CSS comments (by timeless) 2009-11-09 23:47:24 +01:00
Martin Geisler
60d8cf780e doc: uppercase first letter in HTML man pages 2009-11-08 17:27:01 +01:00
Yuya Nishihara
d6d2fe0234 doc: styles for man page, which suit with the mercurial website
designed loosely based on:
http://mercurial.selenic.com/css/styles.css

with some modifications by intention:

 * visited links are colored differently
 * no fixed size
 * works without typeface.js

we keep most styles, which is from docutils, untouched.

tested with:

 * MSIE 6.0 on Windows
 * Firefox 3.5 on Linux
2009-11-09 00:00:47 +09:00
Martin Geisler
ba6e403c30 rst2man: more robust uppercasing of section titles
This handles section titles with child elements such as emphasis or
inline literals.
2009-11-08 16:16:21 +01:00
Martin Geisler
e2d8b0b8e1 doc: use titlecase in man page section titles 2009-11-08 11:46:38 +01:00
Martin Geisler
ddce3472aa rst2man: automatically write sections in uppercase
Man pages have uppercased section titles but other formats do not.
Letting rst2man handle the tranformation allows better reuse of text
between man pages and other formats.
2009-11-08 11:41:34 +01:00
Martin Geisler
a734140a12 hgrc.5: do not mention "name: value" syntax
This was supported in versions prior to 1.3 where we used the standard
Python ConfigParser. The new config parser never supported it.
2009-11-07 18:47:04 +01:00
Martin Geisler
38d09c8d4d hgrc.5: mark more inline literals 2009-11-07 15:51:32 +01:00
Martin Geisler
1b91a31aa9 hgrc.5: do not turn random URLs into links
URLs and email addresses are automatically turned into links. We don't
want that when talking about example links and addresses.
2009-11-07 14:41:03 +01:00
Martin Geisler
7285aa3ae7 hgrc.5: use enumerated list for email charsets 2009-11-07 14:30:58 +01:00
Christian Ebert
966f02c857 hgrc.5: order of email charsets is not a top level literal block
- it belongs under email charsets, not email in general
- enumerate order
2009-11-07 13:54:47 +01:00
Dirkjan Ochtman
12c5890a70 kill trailing whitespace 2009-11-05 10:44:36 +01:00
Martin Geisler
7e40bdcf3d hg.1: kill spurious backslash
I believe the backslash prevented asciidoc from automatically turning
"(C)" into a real copyright symbol. This replacement is not done in
reST in the first place.
2009-11-02 21:55:59 +01:00
Martin Geisler
05e89d7e15 doc/Makefile: add help/*.txt as a dependency 2009-11-02 21:38:42 +01:00
Martin Geisler
8ae9f6093b doc: add some internal links to man pages 2009-11-02 21:32:42 +01:00
Martin Geisler
7ad329e8b8 hgrc.5: combined short paragraphs into one
Short and precise sentences are good, but we can have more than one
such sentence per paragraph.
2009-11-02 21:08:33 +01:00
Martin Geisler
2ae29e4fd0 doc: use reST note directive
The 'NOTE: bla bla' syntax was for asciidoc and is still present in a
couple of docstrings. The docstrings will be converted to reST format
when minirst knows how to handle it.
2009-11-02 21:02:56 +01:00
Martin Geisler
77e5054cc9 hgrc.5: capitalize True and False consistently 2009-11-02 20:53:34 +01:00
Martin Geisler
0d60e93784 hgrc.5: document ui.traceback setting 2009-11-02 20:50:30 +01:00
Adrian Buehlmann
da618c2315 hgrc.5.txt: mention hgrc categories with higher precedence first
Reordering the FILES section accordingly.

The previous ordering of categories might have been nice from the
viewpoint of a site admin doing an initial install, but presenting a
higher-precedence-first ordering is more relevant and natural for the
average end user, since he will most likely resort to editing rc files
in the order of their precedence, overriding whatever "sane" defaults
are coming from more general files.

Note that this patch does not change the texts, it just moves them.
So, whatever bugs, grammar errors, or typos may have been in the texts
before this patch: they are still there. On purpose. Because this patch
here does not want to reword texts while moving them.
2009-10-21 13:40:55 +02:00
Adrian Buehlmann
b4da330562 doc/hgrc.5.txt: deprecate [defaults]
Quoting Matt:

"Defaults are a bad idea. They are deprecated. Don't use them. Don't
recommend them. Forget they existed. Use aliases."

in http://selenic.com/pipermail/mercurial-devel/2009-October/016095.html
2009-10-22 00:46:54 +02:00
Martin Geisler
598ceacdbb rst2man: highlight inline literals in bold
The old code would switch to Courier, but that doesn't really help
much in a manpage.
2009-10-22 00:30:24 +02:00
Martin Geisler
c03dbf4a91 rst2man: avoid italic for references
The links to other manpages used both italic and bold text nested
within each other. The \fP (select previous font) macro was used
incorrectly to "reset" the nested fonts resulting in:

  <roman> text <italic> <bold> hg <italic> (1) <bold> more text

with no switch back to roman. This stops the bleeding and removes the
ugly italic (underline) from the manpage links.
2009-10-22 00:27:08 +02:00
Martin Geisler
b04344b176 doc: add a style sheet to the generated HTML pages 2009-10-21 23:40:01 +02:00
Martin Geisler
bd199c7536 doc, help: stream-line use of inline-literals 2009-10-20 22:43:17 +02:00
Martin Geisler
7411f95959 gendoc: fix synopsis
The synopsis is used as an inline literal when generating the manpage.
There should not be any whitespace on the inside of the quotation
marks in inline literals.

Commands with an empty synopsis (such as tags) produces ``tags `` as
synopsis, which triggers a warning.
2009-10-20 22:42:49 +02:00