1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Add some more comments

This commit is contained in:
Jonas Fonseca 2006-01-12 03:15:30 +01:00 committed by Jonas Fonseca
parent 018c4268b1
commit cae0d9d8a6

View File

@ -1,17 +1,33 @@
# AsciiDoc configuration file
# Copyright (c) Jonas Fonseca <fonseca@diku.dk>, 2006
# The elink macro can have optional {0} value, that is what
# This file sets the following ELinks specific AsciiDoc macros:
#
# General purpose:
# - man:page[section]: which is used for linking between ELinks manpages.
#
# API Doc:
# - id:[]
# - enum:[]
# - func:[]
# - struct:[]
# - macro:[]
# - typedef:[]
# - ref:[]
# Some macros can have optional {0} value, that is what
# the {0%...} and {0#...} handles.
#############################################################################
# DocBook
ifdef::backend-docbook[]
# No interlinking between elinks manpages
[man-inlinemacro]
{target}({0})
## For manpages use less verbose linking
# For manpages use less verbose linking
ifdef::doctype-manpage[]
[link-inlinemacro]
{0%&lt;{target}&gt;}
@ -31,9 +47,13 @@ endif::backend-docbook[]
# XHTML11
ifdef::backend-xhtml11[]
# Use the man:[] macro to link between elinks manpages
[man-inlinemacro]
<a href="{target}.{0}.html">{target}({0})</a>
# API Doc macros
[id-inlinemacro]
<a id="{0}" href="#{0}">{0}</a>
@ -54,4 +74,5 @@ ifdef::backend-xhtml11[]
[ref-inlinemacro]
<a href="{target}#{0}">{0}</a>
endif::backend-xhtml11[]