1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-05 16:21:14 +03:00
Commit Graph

115 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
79f068d00c Use nice PNG instead of ugly nasty GIF
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730073 13f79535-47bb-0310-9956-ffa450edef68
2016-02-12 17:03:09 +00:00
a35dbc4e61 Happy New Year 2016
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1722572 13f79535-47bb-0310-9956-ffa450edef68
2016-01-01 20:51:54 +00:00
e4ef6e7dbc The good thing about standards is that there are so many to choose from.
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=55741


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674382 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 19:46:28 +00:00
7cb5913e8a Happy New Year 2015
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1648840 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 13:05:30 +00:00
4292178ce8 Add version number in <title> as proposed by Louise Hope in online doc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1596441 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 02:20:27 +00:00
b9f08fd090 indentation fixup for multinode <pre> container
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1565135 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 09:34:52 +00:00
0a4b4dd433 left-trim one-liner-<pre>s or -<highlight>s completely. The indentation is
usually an accident.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1565001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 23:51:08 +00:00
8f29edaadf move the <pre> trimming code into its own module and use it both for html and
latex output


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564993 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 23:19:32 +00:00
4d2c9470bc move string-reverse function into its own file and share it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564972 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 22:47:57 +00:00
e76da58f48 improve output by trimming spaces from <pre> and <highlight> output.
- strip the initial empty lines, but keep initial indentation
- strip trailing whitespace completely.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564956 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 22:19:53 +00:00
6c73c03100 use minified prettify script
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563734 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 22:20:23 +00:00
5539d793fe port retirement styles from 2.0 to trunk
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1563493 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 22:22:18 +00:00
1bd6445c6f fix another source of invalid links: too much space.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561600 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 08:11:45 +00:00
a02a4a9797 evaluate the new dtd attributes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561567 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 22:55:00 +00:00
e61ef97a99 s/2013/2014/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554855 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 17:50:37 +00:00
bec1cf0251 Remove redundant 'directives' list, and use the more-useful
quickreference doc instead.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1447968 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 23:42:40 +00:00
dfcb39b3ec Happy new year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1429349 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 18:15:07 +00:00
685cfb0ea9 comments.apache.org is live! Changing URL of the javascript to reflect this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1357936 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:29:58 +00:00
b00ea37599 Use HTTPS for the comments instead of HTTP (and yay for commit number 500)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1346344 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 11:19:00 +00:00
73d706b880 Change references in version.ent from disqus to the new comment system.
Set version to 'trunk' instead of 2.4 in the comments_idenfitier variable
Disregard translations (use same comments thread for all languages)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345863 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 08:22:04 +00:00
8f52612190 Replacing disqus references with $newstuff
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1341746 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 05:08:30 +00:00
853fc50bf7 Disabling the Disqus system until we have a proper resolution about this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1340701 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:53:19 +00:00
86d35f0f0a - simplify and cleanup comment integration script
- make comment version tag configurable


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335773 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:18:40 +00:00
fb4841ea8f Reverting to the old style with a static div, until a working solution can be found.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335626 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 16:42:34 +00:00
a35ae7b514 Is this a proper fix? :\
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335608 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 16:09:59 +00:00
f85d8f20c5 That should be !=, not == :\ moar rebuilding inc!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335592 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 15:32:18 +00:00
4ed4fb7032 Add something between <div> and </div> so the same thing doesn't happen again. bleh.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335581 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 15:20:07 +00:00
132c26c873 placeholder for disqus thread is now created using javascript.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335568 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 15:08:07 +00:00
98eb08645e Small hack so the XSLT process won't turn <div></div> into <div/>, thus messing up the DOM tree.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335366 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 07:35:24 +00:00
a94b0455ba XSL changes needed to add comments to our docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335029 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 14:07:00 +00:00
70e2ba2faf Fixes the 'FAQ' link in the header and footer.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1333685 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 23:43:13 +00:00
74e931e814 properly enclose inline javascript in HTML output.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331550 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 19:29:19 +00:00
879334e84f - style
- fix example -> highlight nesting
- enclose inline javascript in cdata


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331543 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 19:05:41 +00:00
340d410395 Changing javascript as per nd's suggestion
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329915 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 18:26:38 +00:00
ca43447e28 Trying out the new build commands. If anything fails, blame rbowen for pushing me to do this :( *sob*
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329844 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:50:55 +00:00
5d3d7c8875 s/2011/2012/g
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226563 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 22:52:11 +00:00
931cdd59ae Update copyright to 2011
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1054597 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 12:42:10 +00:00
540da85826 add sanity check
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1044538 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 23:37:46 +00:00