Hi there,
i need to change the markup and css of the documentation theme. Unfortunately the theme only offers the ability to add some markup at certain positions such as navigation, header and footer.
Is there a way to extend the bundled documentation theme in the same way, as the basic theme can be extended?
<theme key="simpletheme" name="Simple Theme" class="com.atlassian.confluence.themes.BasicTheme">
The best solution would be to override the main.vmd decorator, alter the markup and then use the other built in macros and decorators. I tried that by implementing a Decorator Module Plugin, but without luck.
I thought about checking out the whole theme, altering an redeploying it. But the SVN trunk contains a OBSOLETE.txt which says that the source has been moved to a git repository which i can't find anywhere. Maybe someone has a clue on that.
Any other suggestions?
Thanks
Martin
Community moderators have prevented the ability to post new answers.
Hi,
You might add the dependency for the original documentation theme:
<dependency> <groupId>com.atlassian.confluence.plugins</groupId> <artifactId>doctheme</artifactId> <version>${confluence.version}</version> <scope>compile</scope> </dependency>
to your pom.xml.
Then build and copy the original atlassian-plugin.xml from target/classes/atlassian-plugin.xml to src/main/resources.
You might also check the answers on how to extend the original theme on https://answers.atlassian.com/questions/286817or how to customize some parts in https://answers.atlassian.com/questions/10233
~Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.