Skip to content

Commit

Permalink
Merge pull request #364 from openSUSE/wip-seo-link-rewrite
Browse files Browse the repository at this point in the history
SEO: rewrite certain xml:id values and validate against Geekodoc
  • Loading branch information
hennevogel authored Jul 23, 2024
2 parents c70deaf + 05a8958 commit bfafe8c
Show file tree
Hide file tree
Showing 86 changed files with 844 additions and 848 deletions.
7 changes: 4 additions & 3 deletions DC-obs-admin-guide
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Basics
MAIN="MAIN-obs.xml"
# See "book-obs-admin-guide.xml"
ROOTID="book.obs-admin"
ROOTID="book-obs-admin"

## Profiling
PROFOS="opensuse;novell"
Expand All @@ -18,8 +18,9 @@ PROFCONDITION="bogus"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse"

## Use DocBook5 instead of GeekoDoc
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"
### Use GeekoDoc
#DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"

## Disabled SUSE logo
XSLTPARAM="--param generate.logo=0"
Expand Down
5 changes: 3 additions & 2 deletions DC-obs-all
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ PROFCONDITION="bogus"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse"

## Use DocBook5 instead of GeekoDoc
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"
### Use GeekoDoc
#DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"

## enable sourcing
export DOCCONF=$BASH_SOURCE
7 changes: 4 additions & 3 deletions DC-obs-user-guide
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Basics
MAIN="MAIN-obs.xml"
# See "book-obs-user-guide.xml"
ROOTID="book.obs-user"
ROOTID="book-obs-user"

## Profiling
PROFOS="opensuse;novell"
Expand All @@ -18,8 +18,9 @@ PROFCONDITION="bogus"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse"

## Use DocBook5 instead of GeekoDoc
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"
### Use GeekoDoc
#DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"

## Disabled SUSE logo
XSLTPARAM="--param generate.logo=0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ daps2docker DC-obs-user-guide validate
or if you want to preview the HTML files you can use

```
rm -rf /tmp/daps2docker-*; daps2docker DC-obs-user-guide html; xdg-open /tmp/daps2docker-*/obs-user-guide/html/book.obs-user/index.html
rm -rf /tmp/daps2docker-*; daps2docker DC-obs-user-guide html; xdg-open /tmp/daps2docker-*/obs-user-guide/html/book-obs-user/index.html
```

For more detailed information see
Expand Down
8 changes: 1 addition & 7 deletions xml/MAIN-obs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!ENTITY % entities SYSTEM "entity-decl.ent">
%entities;
]>
<set version="5.1" xml:lang="en" xml:id="art_obs_quickstart"
<set version="5.1" xml:lang="en"
xmlns="http://docbook.org/ns/docbook"
xmlns:dm="urn:x-suse:ns:docmanager"
xmlns:xi="http://www.w3.org/2001/XInclude"
Expand All @@ -22,12 +22,6 @@
</dm:bugtracker>
</dm:docmanager>
</info>
<!--
<book xml:id="book.obs.techpaper">
<title>Technical Papers</title>
<info/>
</book>
-->
<xi:include href="book-obs-user-guide.xml"/>
<xi:include href="book-obs-admin-guide.xml"/>
</set>
Loading

0 comments on commit bfafe8c

Please sign in to comment.