[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [phd] master: don't fetch informalexample ids when building example id index (#56)
From: Peter Cowburn via GitHub <noreply () php ! net>
Date: 2021-09-30 20:47:14
Message-ID: NhvxfbczepmfUY5cmdh6LaNCfN348wxihApqrPjgfgw () main ! php ! net
[Download RAW message or body]
Author: Peter Cowburn (salathe)
Committer: GitHub (web-flow)
Pusher: salathe
Date: 2021-09-30T21:47:49+01:00
Commit: https://github.com/php/phd/commit/aba426d48a38f117b6af8b6c45c91f241918b00a
Raw diff: https://github.com/php/phd/commit/aba426d48a38f117b6af8b6c45c91f241918b00a.diff
don't fetch informalexample ids when building example id index (#56)
The incrementing "example-N" numbers which are allocated during indexing
need to tally up when fetched for rendering.
Changed paths:
M phpdotnet/phd/Format.php
Diff:
diff --git a/phpdotnet/phd/Format.php b/phpdotnet/phd/Format.php
index fbd240d8..e06e52ab 100644
--- a/phpdotnet/phd/Format.php
+++ b/phpdotnet/phd/Format.php
@@ -147,7 +147,7 @@ public function sortIDs() {
$this->sqlite->query('SELECT refname(docbook_id, sdesc) FROM ids WHERE \
element=\'refentry\'');
$this->sqlite->query('SELECT varname(docbook_id, sdesc) FROM ids WHERE \
element=\'phpdoc:varentry\'');
$this->sqlite->query('SELECT classname(docbook_id, sdesc) FROM ids WHERE \
element=\'phpdoc:exceptionref\' OR element=\'phpdoc:classref\'');
- $this->sqlite->query('SELECT example(docbook_id) FROM ids WHERE \
element=\'example\' OR element=\'informalexample\''); + \
$this->sqlite->query('SELECT example(docbook_id) FROM ids WHERE \
element=\'example\''); }
public function SQLiteIndex($context, $index, $id, $filename, $parent, $sdesc, \
$ldesc, $element, $previous, $next, $chunk) {
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic