Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mafritsch committed Nov 29, 2011
1 parent ccb690d commit d86c5f7
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 35 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
*.*~
# Maven target dirs
target/
out/
*.jar
2 changes: 1 addition & 1 deletion META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<name>IDEA DocBook</name>
<description>Support for the DocBook format.</description>
<version>1.0</version>
<vendor url="http://documentation.coremedia.com"
<vendor url="https://github.com/CoreMedia/docbook-idea-plugin"
email="documentation@coremedia.com">CoreMedia</vendor>
<idea-version since-build="IU-103.255"/>

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
An IntelliJ IDEA Plugin for DocBook
===================================
At the moment, the Plugin offers an adapted DocBook Schema that removes some of the rarely used elements.
It contains templates for Book, Chapter and Section documents and live templates for elements such as table, example etc.
2 changes: 1 addition & 1 deletion docbook-idea-plugin.iml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="IDEA IU-103.72" jdkType="IDEA JDK" />
<orderEntry type="jdk" jdkName="IDEA IU-107.587" jdkType="IDEA JDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Expand Down
2 changes: 1 addition & 1 deletion docbook-idea-plugin.ipr
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA IU-103.72" project-jdk-type="IDEA JDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA IU-107.587" project-jdk-type="IDEA JDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="VcsDirectoryMappings">
Expand Down
37 changes: 6 additions & 31 deletions src/fileTemplates/DocBook Book.xml.ft
Original file line number Diff line number Diff line change
@@ -1,44 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<book version="5.0-subset coremedia-1.0"
<book version="5.0"
xml:lang="en"
xml:id="${PACKAGE_NAME}${NAME}"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://docbook.org/ns/docbook"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml5.0/xsd/docbook.xsd"
>
<info>
<productnumber>
<?eval ${project.version}?>
</productnumber>
<title>${NAME}</title>
<legalnotice>
<para>
<emphasis role="strong">Copyright</emphasis>
CoreMedia AG © 2010
</para>
<para>CoreMedia AG</para>
<para>Ludwig-Erhard-Straße 18</para>
<para>20459 Hamburg</para>
<para>
<emphasis role="strong">International</emphasis>
</para>
<para>All rights reserved. No part of this manual or the corresponding program may be reproduced or copied in any
form (print, photocopy or other process) without the written permission of CoreMedia AG.
</para>
<para>
<emphasis role="strong">Germany</emphasis>
</para>
<para>Alle Rechte vorbehalten. CoreMedia und weitere im Text erwähnte CoreMedia Produkte sowie die entsprechenden
Logos sind Marken oder eingetragene Marken der CoreMedia AG in Deutschland. Alle anderen Namen von Produkten
sind Marken der jeweiligen Firmen.
</para>
<para>Das Handbuch bzw. Teile hiervon sowie die dazugehörigen Programme dürfen in keiner Weise (Druck, Fotokopie
oder sonstige Verfahren) ohne schriftliche Genehmigung der CoreMedia AG reproduziert oder vervielfältigt werden.
Unberührt hiervon bleiben die gesetzlich erlaubten Nutzungsarten nach dem UrhG.
</para>
<para>
<emphasis role="strong">Licenses and Trademarks</emphasis>
</para>
<para>All trademarks acknowledged.</para>
</legalnotice>
<xi:include href="../../../target/temp/docbkx/content/legalnotice.xml" xpointer="legalnotice"/>
</info>
<xi:include href='glossary.xml'/>
<index/>
Expand Down
4 changes: 3 additions & 1 deletion src/fileTemplates/DocBook Chapter.xml.ft
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter version="5.0-subset coremedia-1.0" xml:lang="en"
<chapter version="5.0"
xml:lang="en"
xml:id="${PACKAGE_NAME}${NAME}"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns="http://docbook.org/ns/docbook"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://www.w3.org/1999/xlink http://www.docbook.org/xml/5.0/xsd/xlink.xsd"
>
<title></title>
</chapter>

0 comments on commit d86c5f7

Please sign in to comment.