Blame Scripts/Functions/Tuneup/Xhtml/xhtml.sh
|
|
9f1608 |
#!/bin/bash
|
|
|
9f1608 |
#
|
|
|
c374d7 |
# xhtml.sh -- This function standardizes maintainance tasks of XHTML
|
|
|
c374d7 |
# files.
|
|
|
9f1608 |
#
|
|
|
2fe9b7 |
# Copyright (C) 2009, 2010, 2011 The CentOS Project
|
|
|
fa95b1 |
#
|
|
|
fa95b1 |
# This program is free software; you can redistribute it and/or modify
|
|
|
fa95b1 |
# it under the terms of the GNU General Public License as published by
|
|
|
dcd347 |
# the Free Software Foundation; either version 2 of the License, or (at
|
|
|
dcd347 |
# your option) any later version.
|
|
|
fa95b1 |
#
|
|
|
74a058 |
# This program is distributed in the hope that it will be useful, but
|
|
|
74a058 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
9f1608 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
9f1608 |
# General Public License for more details.
|
|
|
9f1608 |
#
|
|
|
9f1608 |
# You should have received a copy of the GNU General Public License
|
|
|
9f1608 |
# along with this program; if not, write to the Free Software
|
|
|
dcd347 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
7ac5a5 |
#
|
|
|
9f1608 |
# ----------------------------------------------------------------------
|
|
|
9f1608 |
# $Id$
|
|
|
9f1608 |
# ----------------------------------------------------------------------
|
|
|
8aa7eb |
|
|
|
c374d7 |
function xhtml {
|
|
|
66b51c |
|
|
|
c374d7 |
# Define backend-specific configuration directory.
|
|
|
491306 |
local CONFIG_DIR="${TUNEUP_BACKEND_DIR}/Xhtml/Config"
|
|
|
c374d7 |
|
|
|
c374d7 |
# Transforms xhtml headings to make them accessible (e.g., through
|
|
|
66b51c |
# a table of contents).
|
|
|
88ac1b |
xhtml_doToc
|
|
|
9f1608 |
|
|
|
9f1608 |
}
|