-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Majdi Sobain
authored and
Majdi Sobain
committed
May 12, 2017
1 parent
1992738
commit 60892ae
Showing
76 changed files
with
7,860 additions
and
6,819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@echo off | ||
|
||
echo backing up "bizstyle" old files | ||
|
||
IF EXIST C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t.bak ( | ||
IF NOT EXIST C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t.bak.old ( | ||
REM if there is more than one time building, original bizstyle.js_t file will be untouched | ||
copy C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t.bak C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t.bak.old | ||
echo bizstyle.js_t.bak.old file created | ||
) | ||
) | ||
copy C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t.bak | ||
echo bisstyle.js_t.bak file created | ||
|
||
IF EXIST C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html.bak ( | ||
IF NOT EXIST C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html.bak.old ( | ||
REM if there is more than one time building, original layout.html file will be untouched | ||
copy C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html.bak C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html.bak.old | ||
echo layout.html.bak.old file created | ||
) | ||
) | ||
copy C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html.bak | ||
echo layout.html.bak file created | ||
|
||
echo Copying the modified files to be used instead | ||
copy bizstyle.js_t C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\static\bizstyle.js_t | ||
copy layout.html C:\Python27\Lib\site-packages\sphinx\themes\bizstyle\layout.html | ||
|
||
echo Copying Ring_WinCReg logo to be used by documentation | ||
copy logo.png .\build\html\logo.png | ||
|
||
echo NOW you are ready to build docs :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Ring_WinCReg Documentation | ||
|
||
This directory contains files of ring_wincreg documentation as source and those which are already built. | ||
|
||
## Building the source | ||
|
||
You can build this documentation source using [Sphinx extension of Python Programming Language](http://www.sphinx-doc.org/en/stable/tutorial.html) . | ||
|
||
BOFORE building we may need to prepare "bizstyle" theme of sphinx documentation that's used in this project to add Ring_WinCReg extension logo and home website link by running "PrepareStyle.bat" batch file. | ||
|
||
## Building steps | ||
|
||
1- Setup Python and its extension Sphinx. | ||
|
||
2- (Optional) run "PrepareStyle.bat" batch file. | ||
|
||
3- Run this command in COMMAND LINE(cmd): | ||
|
||
make html | ||
|
||
4- Enjoy ^_^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// | ||
// bizstyle.js | ||
// ~~~~~~~~~~~ | ||
// | ||
// Sphinx javascript -- for bizstyle theme. | ||
// | ||
// This theme was created by referring to 'sphinxdoc' | ||
// | ||
// :copyright: Copyright 2012-2014 by Sphinx team, see AUTHORS. | ||
// :license: BSD, see LICENSE for details. | ||
// | ||
$(document).ready(function(){ | ||
if (navigator.userAgent.indexOf('iPhone') > 0 || | ||
navigator.userAgent.indexOf('Android') > 0) { | ||
$("li.nav-item-0 a").text("Top"); | ||
} | ||
|
||
$("div.related:first ul li:not(.right) a").slice(1).each(function(i, item){ | ||
if (item.text.length > 30) { | ||
var tmpstr = item.text | ||
$(item).attr("title", tmpstr); | ||
$(item).text(tmpstr.substr(0, 27) + "..."); | ||
} | ||
}); | ||
$("div.related:last ul li:not(.right) a").slice(1).each(function(i, item){ | ||
if (item.text.length > 30) { | ||
var tmpstr = item.text | ||
$(item).attr("title", tmpstr); | ||
$(item).text(tmpstr.substr(0, 27) + "..."); | ||
} | ||
}); | ||
}); | ||
|
||
$(window).resize(function(){ | ||
if ($(window).width() <= 776) { | ||
$("li.nav-item-0 a").text("Top"); | ||
} | ||
else { | ||
$("li.nav-item-0 a").text("{{ shorttitle|e }}"); | ||
} | ||
}); |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 332d1bf1530bce63fde0231b3aa662f5 | ||
config: 053fba15b894ea567d12f56542c977f5 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.