Skip to content

Commit

Permalink
Adding base source for doc writer
Browse files Browse the repository at this point in the history
- AIR based, requires SDK 2
- For sphonx documentation projects
  • Loading branch information
Nikolai Onken committed May 13, 2010
1 parent a26b26e commit 247e18c
Show file tree
Hide file tree
Showing 13 changed files with 2,827 additions and 0 deletions.
110 changes: 110 additions & 0 deletions css/layout.css
@@ -0,0 +1,110 @@
/* Default classes */
.displayNone {
display: none !important;
}

/* Layout */
html, body {
width: 100%;
height: 100%;
}

.container {
width: 100%;
height: 100%;
border: none !important;
}

.leftPane {
width: 25%;
}

/* Tabs */

.dijitTabContainerTopStrip {
border: 1px solid #B5BCC7;
border-bottom: none;
}

.nowrapTabStrip {
padding: 3px 3px 0;
}

/* Editing */
.editor {
font-family: monospace;
font-size: 12px;
border: 1px solid #ccc;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}

.toolbar {
height: 24px;
font-size: 12px !important;
overflow: hidden;
}

.console {
background: #1b1b1b !important;
color: #fff;
height: 100px;
}

.logo {
background: url(../img/logoSmall.png) no-repeat;
width: 85px;
height: 22px;
display: inline-block;
}

.quickstart {
position: absolute;
background: white;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 10px;
z-index: 99;
}

.quickstart h2 {
background: url(../img/logo.png) no-repeat;
padding-left: 190px;
height: 44px;
font-size: 10px;
}

.info {
padding: 1em;
margin: 0 auto;
font-size: .9em;
display: block;
-webkit-border-radius: 4px;
}

.highlight {
background: #d8f5d2;
border: 1px solid #8ad57b;
color: #334932;
display: inline-block;
}

.error {
margin: 10px auto 0;
font-size: .9em;
background: #faa7a7;
color: white;
border: 1px solid #e35353;
display: inline-block;
-webkit-border-radius: 4px;
}

.error span {
margin: 1em;
display: inline-block;
}
33 changes: 33 additions & 0 deletions doctool.xml
@@ -0,0 +1,33 @@
<?xml version ="1.0" encoding="utf-8" ?>
<application
xmlns="http://ns.adobe.com/air/application/2.0"
minimumPatchLevel="0">
<id>com.uxebu.doctools</id>
<version>1.0</version>
<filename>UxebuDoctools</filename>
<description>Doc editor</description>
<name>Uxebu Doctools</name>
<copyright>(c) 2010 Uxebu</copyright>
<initialWindow>
<content>index.html</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<width>1000</width>
<height>800</height>
<!--<fullScreen>true</fullScreen>
<aspectRatio>portrait</aspectRatio>
--><maximizable>false</maximizable>
<minimizable>true</minimizable>
<resizable>true</resizable>
</initialWindow>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<supportedProfiles>extendedDesktop</supportedProfiles>
<icon>
<image16x16>icons/AIRApp_16.png</image16x16>
<image32x32>icons/AIRApp_32.png</image32x32>
<image48x48>icons/AIRApp_48.png</image48x48>
<image128x128>icons/AIRApp_128.png</image128x128>
</icon>
</application>
15 changes: 15 additions & 0 deletions exec/make.sh
@@ -0,0 +1,15 @@
#! /bin/bash

echo "Building docs"

DOC_DIR=$1

if [ -z $DOC_DIR ]; then
echo "Please provide the documentation directory"
exit 1
fi;

cd $DOC_DIR
make html
echo "Done"
exit 0
Empty file added exec/svn/svn.sh
Empty file.
Binary file added img/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/logoSmall.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions index.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<link id="themeStyles" rel="stylesheet" href="js/dojo/resources/dojo.css">
<link id="themeStyles" rel="stylesheet" href="js/dijit/themes/claro/claro.css">
<link id="themeStyles" rel="stylesheet" href="css/layout.css">
<link href="js/bespin/BespinEmbedded.css" rel="stylesheet" type="text/css">
</head>
<body class="claro">
<div id="container"></div>

<script type="text/javascript" src="js/bespin/BespinEmbedded.js"></script>
<script type="text/javascript" src="js/dojo/dojo.js"></script>
<script type="text/javascript" src="js/AIRAliases.js"></script>
<script type="text/javascript" src="js/AIRIntrospector.js"></script>
<script type="text/javascript" src="js/docs.js"></script>
</body>
</html>

0 comments on commit 247e18c

Please sign in to comment.