Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41218

Re: Sphinx highlighting

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=7786d178c=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.134
X-Spam-Level *
X-Spam-Evidence '*H*': 0.73; '*S*': 0.00; 'method.': 0.05; 'puts': 0.07; 'sphinx': 0.07; 'cc:addr:python-list': 0.10; 'highlight': 0.16; 'instance': 0.17; 'cheers,': 0.23; 'cc:2**0': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'appear': 0.26; 'figure': 0.30; 'url:python': 0.32; '-----': 0.32; 'controls': 0.33; 'function.': 0.33; 'text,': 0.33; 'turns': 0.33; "can't": 0.34; 'text': 0.34; 'sometimes': 0.35; 'but': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'thank': 0.36; 'rather': 0.37; 'subject:: ': 0.38; 'store': 0.38; 'some': 0.38; 'url:docs': 0.38; 'shows': 0.38; 'where': 0.40; 'think': 0.40; 'link': 0.60; 'you.': 0.61; 'received:194': 0.61; 'stand': 0.61; 'between': 0.63; 'information': 0.63; 'person,': 0.65; 'disclose': 0.69; 'notice:': 0.71; 'privileged.': 0.72; 'url:process': 0.84; 'yellow': 0.84; 'medium.': 0.91
X-IronPort-AV E=Sophos;i="4.84,844,1355094000"; d="scan'208";a="1284671"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Thu, 14 Mar 2013 10:54:37 +0100 (CET)
From Jean-Michel Pichavant <jeanmichel@sequans.com>
To Charles Hixson <charleshixsn@earthlink.net>
In-Reply-To <51411100.6070003@earthlink.net>
Subject Re: Sphinx highlighting
MIME-Version 1.0
X-Mailer Zimbra 7.2.2_GA_2852 (ZimbraWebClient - GC7 (Linux)/7.2.2_GA_2852)
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3290.1363254878.2939.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363254878 news.xs4all.nl 6876 [2001:888:2000:d::a6]:60190
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41218

Show key headers only | View raw


----- Original Message -----
> What controls the yellow highlight bar that Sphinx sometimes puts in
> the
> documentation?
> E.g.:
> .. py:function:: basic_parseStrTest ()
> generates bold-face text, where
> .. py:function:: basicParseStrTest ()
> generates text with a yellow bar highlight.
> 
> I actually rather like the yellow bar highlight, but I can't stand
> having it appear for some of my functions, and not for others, and I
> haven't been able to figure out what turns it on or off.
> 
> --
> Charles Hixson

I think the yellow bar only shows up when you folllow a link to that function.

See for instance the difference between
http://docs.python.org/2/library/multiprocessing.html#multiprocessing.Process.start


and http://docs.python.org/2/library/multiprocessing.html
where you go manually to the start method.

Cheers,

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Sphinx highlighting Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-03-14 10:54 +0100

csiph-web