1
0
mirror of https://github.com/apache/httpd.git synced 2025-10-27 09:35:38 +03:00
Commit Graph

567 Commits

Author SHA1 Message Date
Christophe Jaillet
10d302435c Fix a parsing error when using Ant 1.9.13 without the external Xerces (2.9.0) and Xalan (2.7.1).
The error is: "filter-expr(funcall(current, []), [pred(=(step("attribute", 39), literal-expr(section)))])'. Cause: Erreur lors de la vérification du type de l'expression 'filter-expr(funcall(current, []), [pred(=(step("attribute", 39), literal-expr(section)))])"

This takes us 1 step closer to use Ant 1.9+ and remove Xerces and Xalan from the build chain.


Patch tested with the current doc build chain (Ant 1.6.5 + Xerces + Xalan) on the 2.4.x branch.
Even if actually we don't have any "<Foo>" and "Foo" directives, I've checked that the doc is built correctly in such a case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1854677 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03 07:26:10 +00:00
Christophe Jaillet
1b4b07429f Fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1853616 13f79535-47bb-0310-9956-ffa450edef68
2019-02-15 07:30:59 +00:00
Christophe Jaillet
aebde8b3af Add some additional tests to report badly formatted synopsis.
Comment-out these tests because of the noise it generates, but leave it there, if useful for s.o.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1853615 13f79535-47bb-0310-9956-ffa450edef68
2019-02-15 07:25:54 +00:00
Christophe Jaillet
99a954ba31 Quireference extract the default value of a directive from the <default> of the corresponding <directivesynopsis> block.
The current implementation  expects <default> to be formated like:
directive_name default_value

If the directive name is not there, no default value can be extracted and it is missing in the quickreference table.

This commit adds a basic check to see if the formating looks correct. It catches cases where the directive name is  omited or is misspelled.

If it generates too much noise, feel free to revert or improve :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1852285 13f79535-47bb-0310-9956-ffa450edef68
2019-01-27 13:49:29 +00:00
Christophe Jaillet
4a18262c34 Give a littlet breath before the permalink
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1851168 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 13:50:26 +00:00
Christophe Jaillet
a69c1cd4d0 Follow up to r1828588.
Update css to have permalink more in line with httpd.a.o:
   - default to white (blue on dark-blue is not really visible)
   - visible only when the mouse is over the corresponding heading

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1851167 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 13:38:03 +00:00
Rainer Jung
7a1524fb16 Happy New Year 2019
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1850098 13f79535-47bb-0310-9956-ffa450edef68
2019-01-01 12:07:58 +00:00
André Malo
165ee80c6a ran build bootstrap and rebuild transformation. sorry for the noise.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1843205 13f79535-47bb-0310-9956-ffa450edef68
2018-10-08 21:09:09 +00:00
André Malo
f2b5ac922b move es and fr targets to *.utf8 extension. Update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1843201 13f79535-47bb-0310-9956-ffa450edef68
2018-10-08 20:59:30 +00:00
André Malo
2048e6635f build bootstrap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842598 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 06:49:42 +00:00
Luis Gil
b79055e4c5 Spanish html doc files : UTF-8 encoding in order to get rid of HTML entities.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842568 13f79535-47bb-0310-9956-ffa450edef68
2018-10-01 21:13:30 +00:00
Luis Gil
210be338f5 Spanish html doc files : UTF-8 encoding in order to get rid of HTML entities.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842567 13f79535-47bb-0310-9956-ffa450edef68
2018-10-01 21:13:15 +00:00
Luis Gil
4ae9d65af7 Spanish html doc files : UTF-8 encoding in order to get rid of HTML entities.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842566 13f79535-47bb-0310-9956-ffa450edef68
2018-10-01 21:12:38 +00:00
Lucien Gentis
a92100ebe1 French html doc files : UTF-8 encoding in order to get rid of HTML entities.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842386 13f79535-47bb-0310-9956-ffa450edef68
2018-09-30 15:02:28 +00:00
Christophe Jaillet
3221cc06aa The XSLT Saxon engine warns about some "Ambiguous rule matches".
Use priority to remove the ambiguity.

The only rational for choosing "3" and "4" for these priorities, is that "4" is related to <h4> tags, and 3=4-1 for the previous level.

Tested with the actual Xalan XSL engine:
   ./build.sh all
with and without the change.
Outputs are exactly the same.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842165 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 20:44:08 +00:00
Christophe Jaillet
695c187293 Revert r1842160
Some rules to help me detect un-needed links to directives, or missing ones were sent by error

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842164 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 20:42:24 +00:00
Christophe Jaillet
4260a8a8ab The XSLT Saxon engine warns about some "Ambiguous rule matches".
Use priority to remove the ambiguity.

The only rational for choosing "3" and "4" for these priorities, is that "4" is related to <h4> tags, and 3=4-1 for the previous level.

Tested with the actual Xalan XSL engine:
   ./build.sh all
with and without the change.
Outputs are exactly the same.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842160 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 20:26:59 +00:00
Christophe Jaillet
2702dc8d9f The XSLT Saxon engine warns that match="@*" will return only attribute nodes, which can't have any attributes or child.
So simplify the xsl rules accordingly.

Tested with the actual Xalan XSL engine:
   ./build.sh all
with and without the change.
Outputs are exactly the same.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842146 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 19:18:51 +00:00
Lucien Gentis
297d19d3f4 English version reference update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1836094 13f79535-47bb-0310-9956-ffa450edef68
2018-07-17 09:34:39 +00:00
Lucien Gentis
9ac4d106b0 XML update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1836022 13f79535-47bb-0310-9956-ffa450edef68
2018-07-16 12:02:32 +00:00
Joe Orton
e0ce3428d4 Render <code> in bold in man pages, matching commonly used style in
both help2man and the standard DocBook XSL stylesheets for man output.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1834470 13f79535-47bb-0310-9956-ffa450edef68
2018-06-27 07:24:39 +00:00
Christophe Jaillet
53f13f97ad Update prettify.js
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828843 13f79535-47bb-0310-9956-ffa450edef68
2018-04-10 18:29:58 +00:00
Christophe Jaillet
2f4de8e407 Align the regex with the one used in 2.4.x which gives nicer results.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828841 13f79535-47bb-0310-9956-ffa450edef68
2018-04-10 18:19:56 +00:00
Luis Gil
6e66beba1e Updated to EN revision 1828588
changed permalink
bug report
known issues
and bugfix  translated to spanish

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828637 13f79535-47bb-0310-9956-ffa450edef68
2018-04-08 12:55:11 +00:00
Christophe Jaillet
30254a5fdd New xsl file which generates ready to copy/paste strings for prettify(.min).js
All the directives are collected in some JS arrays, so that it is easier to upgrade the list
in prettify.js when new directives are added.

'build.sh' will be updated accordingly. A new build target ('prettify') will be added to
update this list. The resulting file is: docs/manual/list_for_prettify.txt

This new file is heavily inspired from convmap.xsl.

It should be possible to go further, but this is already a first step.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828598 13f79535-47bb-0310-9956-ffa450edef68
2018-04-07 16:33:02 +00:00
Christophe Jaillet
fa84d34299 Add a permalink functionality to section and diective-section in the generated doc.
This is convenient and consistent with httpd.a.o

Getting a link to a section or a directive is already possible from the TOC, but having it available directly in-place is, IMHO, much more useful.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828588 13f79535-47bb-0310-9956-ffa450edef68
2018-04-07 08:55:11 +00:00
Stefan Eissing
50cb9264da On the trunk:
removing leftovers of SSLPolicyDefine from docs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828238 13f79535-47bb-0310-9956-ffa450edef68
2018-04-03 13:39:27 +00:00
Graham Leggett
5a3b0ecbe0 Add the ctlogconfig man page to the docs build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1825373 13f79535-47bb-0310-9956-ffa450edef68
2018-02-26 14:10:51 +00:00
Daniel Ferradal
2c3e0554c3 Fixed word 'Directive' placement in the directives list. In Spanish we must sort them the same as in French. Correct format is: 'Directiva xxxx', not the opposite
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821179 13f79535-47bb-0310-9956-ffa450edef68
2018-01-15 16:15:25 +00:00
Luca Toscano
7167e7c77c docs: update the prettify.js files with new directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821120 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 22:34:39 +00:00
Luca Toscano
594930eea2 common.xsl: update year to 2018 in the footer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1819994 13f79535-47bb-0310-9956-ffa450edef68
2018-01-03 18:24:57 +00:00
Luca Toscano
c78025d2b5 prettify.js: add highlight for MDRequireHttps
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808453 13f79535-47bb-0310-9956-ffa450edef68
2017-09-15 12:09:58 +00:00
Luca Toscano
b3945e5e1a docs: allow Directive/<Directive> naming in prettify.js/css
Creditis to Humbedooh for all the work.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808224 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 09:54:37 +00:00
Luca Toscano
5bce17e0a0 docs: add ManagedDomain and SSLPolicy containers to prettify.js
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808204 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 07:54:28 +00:00
Luca Toscano
169929b0c0 docs: update the prettify.js files with new directives
Procedure that I've used:

1) Copy https://httpd.apache.org/docs/trunk/mod/directives.html
   to a text file.
2) Generate a csv with something like 
   cat /tmp/trunk_directives | sort | tr "\n" ","
3) Replace the content of CONFIG_KEYWORDS in prettify.js
   with the list generated in 2)
4) Run the command the MINIFY command to generate prettify.min.js

This commit should hopefully allow a better syntax highlighting
in our docs examples.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808203 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 07:28:57 +00:00
Luca Toscano
d41a5d1e3a synopsis.xsl: fix broken translation builds
This commit is a follow up of r1805189, in which
a new logic was added to allow to repeat a directive
name only if its type is different (like SSLPolicy
and <SSLPolicy>). The change broken french translations
since the $this variable, containing the translated
sections, was not used anymore.

The XPath code could surely be improved, but it seems
more pressing to allow our translators to get back
to their daily work without interference.

build.sh validate-* worked fine, as well as the build.sh fr
translation.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806443 13f79535-47bb-0310-9956-ffa450edef68
2017-08-28 12:34:58 +00:00
Luca Toscano
ff8380ce7b common.dtd: add idtype attribute to directive
This change completes r1805372 and also fixes
links generation for <ManageDomain> and <SSLPolicy>
in sections.xml



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805376 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 08:37:29 +00:00
Luca Toscano
50c86e4f2c doc xsl/dtd: introduce idtype attribute for directivesynopsis
In r1805193 synopsis.xsl was changed to allow two directives
of different type (like <SSLPolicy> and SSLPolicy) to share
the same name but have different ids (and please validate-xml/xhtml).
The downside of this action was that all the quicklinks to
existing directive sections (like <If>, <VirtualHost>, etc..)
were changed, possibly breaking external clients already
referencing them.

This change introduces a new attribute in the directivesynopsis
DTD, namely 'idtype', that will be appended to 'name'
in the id generation by synopsis.xsl. This will rollback
link names to their previous values and will allow documentators
to fine tune directivesynopsis sections as they need
(for example we have recently introduced mod_md's
ManagedDomain/<ManagedDomain>, and modssl's SSLPolicy/<SSLPolicy>).

This approach seems more precise and less invasive to me.
Of course the name of the attribute can be changed later on
to whatever term would fit best, the main concern for me at
the moment is to restore the trunk documentation to its previous
state.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805372 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 08:21:43 +00:00
Luca Toscano
7d0602830d common|synopsis.xsl: rename directive type=sections id generation
This commits is a follow up of r1805189 and it is meant
to allow directives with the same name but different type
to coexist in the same document without triggering errors
while executing validate-xhtml.

For example: mod_md.xml recently introduced the following:

* ManagedDomain
* <ManagedDomain> (this one is type=section)

In my opinion this is a perfectly valid use case and it should
be allowed/handled correctly by the doc generation process/validation.

In order to avoid clashing the directive ids will get a suffix
called "section" if type=section will be present as param.

Quicklinks, <directive> links have been updated to the new
scheme to avoid dandling pointers in the doc.

Comments/reviews are welcome, if I left something behind
please let me know.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805193 13f79535-47bb-0310-9956-ffa450edef68
2017-08-16 13:40:12 +00:00
Luca Toscano
9745af6f42 synopsis.xsl: do not render two times the same
directive HTML if more than one
              directive share the same name.

This has happened when mod_md.xml was introduced,
and the following directives shared the same name:
* ManagedDomain
* <ManagedDomain>

With the current code each time that a node needs
to be rendered it will emit a duplicate, ending up
in the above example with 4 sections rather than two.

Uniqueness of sections will be ensured by the HTML
elements ids, to avoid errors before committing for
example (accidental duplicates, etc..).



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805189 13f79535-47bb-0310-9956-ffa450edef68
2017-08-16 13:04:55 +00:00
Jacob Champion
3ec7888445 Add an Override Class Index
This page pulls in directives that declare an <override> element and
groups them by class. The documentation for each class comes from
overrides.xml. Any undocumented classes are flagged with a boilerplate
fallback text (this situation is only likely to occur with a misspelling
or otherwise invalid <override> somewhere else in the documentation).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/trunk-override-index@1793922 13f79535-47bb-0310-9956-ffa450edef68
2017-05-04 22:53:58 +00:00
Christophe Jaillet
4472521195 Remove a superfluous \b after 'Proxy'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776969 13f79535-47bb-0310-9956-ffa450edef68
2017-01-02 17:55:19 +00:00
Rainer Jung
ca435ae977 Happy New Year 2017
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776956 13f79535-47bb-0310-9956-ffa450edef68
2017-01-02 16:06:53 +00:00
Luis Gil
f8b9e8565b Fixed words
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1743009 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 17:21:14 +00:00
Luis Gil
dba8d24c86 Fixed misspelled word
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1743005 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 16:56:45 +00:00
Lucien Gentis
6761d1c6e3 XML update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741776 13f79535-47bb-0310-9956-ffa450edef68
2016-04-30 15:05:35 +00:00
Lucien Gentis
a84a41cc70 XML update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741774 13f79535-47bb-0310-9956-ffa450edef68
2016-04-30 15:01:38 +00:00
Luca Toscano
41df726ba7 Make the comments link always appear under "See also" in the right panel of each doc page.
Previously it was inconsistently placed right below the last section on top.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741557 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 06:31:53 +00:00
Luis Gil
545a025235 comented out man build since its now not necesary
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741171 13f79535-47bb-0310-9956-ffa450edef68
2016-04-27 08:54:30 +00:00
Luis Gil
1214655718 updated to english revision
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741106 13f79535-47bb-0310-9956-ffa450edef68
2016-04-26 21:23:20 +00:00