-
Notifications
You must be signed in to change notification settings - Fork 9
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
Showing
103 changed files
with
1,848 additions
and
224 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 @@ | ||
MarkdownSeparator API.md Wiki |
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 @@ | ||
Powershell.exe -ExecutionPolicy Unrestricted -file "xmldoc2md.ps1" -xml "xmldoc2md.xml" -xsl "xmldoc2md.xsl" -output "API.md" |
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,18 @@ | ||
# xmldoc2md.ps1 | ||
# By Jaime Olivares | ||
# URL: http://github.com/jaime-olivares/xmldoc2md | ||
|
||
param ( | ||
[string]$xml = $(throw "-xml is required."), | ||
[string]$xsl = $(throw "-xsl is required."), | ||
[string]$output = $(throw "-output is required.") | ||
) | ||
|
||
# var = new XslCompiledTransform(true); | ||
$xslt = New-Object -TypeName "System.Xml.Xsl.XslCompiledTransform" | ||
|
||
# xslt.Load(stylesheet); | ||
$xslt.Load($xsl) | ||
|
||
# xslt.Transform(sourceFile, null, sw); | ||
$xslt.Transform($xml, $output) |
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,182 @@ | ||
<?xml version="1.0" encoding="iso-8859-1"?> | ||
<!-- | ||
# xmldoc2md.xsl | ||
By Jaime Olivares | ||
URL: http://github.com/jaime-olivares/xmldoc2md | ||
--> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
<xsl:output method="text" omit-xml-declaration="yes" indent="no" /> | ||
|
||
<xsl:template match="/"> | ||
<xsl:apply-templates select="//assembly"/> | ||
</xsl:template> | ||
|
||
<!-- Assembly template --> | ||
<xsl:template match="assembly"> | ||
<xsl:text># </xsl:text> | ||
<xsl:value-of select="name"/> | ||
<xsl:text> </xsl:text> | ||
<xsl:apply-templates select="//member[contains(@name,'T:')]"/> | ||
</xsl:template> | ||
|
||
<!-- Type template --> | ||
<xsl:template match="//member[contains(@name,'T:')]"> | ||
|
||
<xsl:variable name="FullMemberName" select="substring-after(@name, ':')"/> | ||
<xsl:variable name="MemberName"> | ||
<xsl:choose> | ||
<xsl:when test="contains(@name, '.')"> | ||
<xsl:value-of select="substring-after(@name, '.')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="substring-after(@name, ':')"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
|
||
<xsl:text> # </xsl:text> | ||
<xsl:value-of select="$MemberName"/> | ||
|
||
<xsl:apply-templates /> | ||
|
||
<!-- Fields --> | ||
<xsl:if test="//member[contains(@name,concat('F:',$FullMemberName))]"> | ||
<xsl:text> ## Fields</xsl:text> | ||
<xsl:text> </xsl:text> | ||
|
||
<xsl:for-each select="//member[contains(@name,concat('F:',$FullMemberName))]"> | ||
<xsl:text> ### </xsl:text> | ||
<xsl:value-of select="substring-after(@name, concat('F:',$FullMemberName,'.'))"/> | ||
<xsl:text> </xsl:text> | ||
<xsl:value-of select="normalize-space()" /> | ||
</xsl:for-each> | ||
</xsl:if> | ||
|
||
<!-- Properties --> | ||
<xsl:if test="//member[contains(@name,concat('P:',$FullMemberName))]"> | ||
<xsl:text> ## Properties</xsl:text> | ||
<xsl:text> </xsl:text> | ||
|
||
<xsl:for-each select="//member[contains(@name,concat('P:',$FullMemberName))]"> | ||
<xsl:text> ### </xsl:text> | ||
<xsl:value-of select="substring-after(@name, concat('P:',$FullMemberName,'.'))"/> | ||
<xsl:text> </xsl:text> | ||
<xsl:value-of select="normalize-space()" /> | ||
</xsl:for-each> | ||
</xsl:if> | ||
|
||
<!-- Methods --> | ||
<xsl:if test="//member[contains(@name,concat('M:',$FullMemberName))]"> | ||
<xsl:text> ## Methods</xsl:text> | ||
<xsl:text> </xsl:text> | ||
|
||
<xsl:for-each select="//member[contains(@name,concat('M:',$FullMemberName))]"> | ||
|
||
<!-- If this is a constructor, display the type name (instead of "#ctor"), or display the method name --> | ||
<xsl:choose> | ||
<xsl:when test="contains(@name, '#ctor')"> | ||
<xsl:text> ### Constructor</xsl:text> | ||
<!-- xsl:value-of select="$MemberName"/ --> | ||
<!-- xsl:value-of select="substring-after(@name, '#ctor')"/--> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:text> ### </xsl:text> | ||
<xsl:value-of select="substring-after(@name, concat('M:',$FullMemberName,'.'))"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
|
||
<xsl:if test="count(remarks)!=0"> | ||
<xsl:apply-templates select="remarks" /> | ||
</xsl:if> | ||
|
||
<xsl:if test="count(summary)!=0"> | ||
<xsl:apply-templates select="summary" /> | ||
</xsl:if> | ||
|
||
<xsl:if test="count(param)!=0"> | ||
<xsl:text> > #### Parameters</xsl:text> | ||
<xsl:apply-templates select="param"/> | ||
</xsl:if> | ||
|
||
<xsl:if test="count(returns)!=0"> | ||
<xsl:text> > #### Return value</xsl:text> | ||
<xsl:apply-templates select="returns"/> | ||
</xsl:if> | ||
|
||
<xsl:if test="count(exception)!=0"> | ||
<xsl:text> > #### Exceptions</xsl:text> | ||
<xsl:apply-templates select="exception"/> | ||
</xsl:if> | ||
|
||
<xsl:if test="count(example)!=0"> | ||
<xsl:text> > #### Example</xsl:text> | ||
<xsl:text> > </xsl:text><xsl:apply-templates select="example" /> | ||
</xsl:if> | ||
|
||
</xsl:for-each> | ||
</xsl:if> | ||
</xsl:template> | ||
|
||
<xsl:template match="summary"> | ||
<xsl:text> </xsl:text> | ||
<xsl:value-of select="normalize-space()" /> | ||
</xsl:template> | ||
|
||
<xsl:template match="remarks"> | ||
<xsl:text> </xsl:text> | ||
<xsl:value-of select="normalize-space()" /> | ||
</xsl:template> | ||
|
||
<xsl:template match="c"> | ||
<xsl:text>`</xsl:text> | ||
<xsl:value-of select="normalize-space()" /> | ||
<xsl:text>`</xsl:text> | ||
</xsl:template> | ||
|
||
<xsl:template match="code"> | ||
<xsl:text> ``` </xsl:text> | ||
<xsl:value-of select="text()" /> | ||
<xsl:text>```</xsl:text> | ||
</xsl:template> | ||
|
||
<xsl:template match="exception"> | ||
<xsl:text> > **</xsl:text><xsl:value-of select="substring-after(@cref,'T:')"/>:** <xsl:value-of select="normalize-space()" /><xsl:text> </xsl:text> | ||
</xsl:template> | ||
|
||
<xsl:template match="include"> | ||
[External file]({@file}) | ||
</xsl:template> | ||
|
||
<xsl:template match="para"> | ||
<xsl:value-of select="normalize-space()" /> | ||
</xsl:template> | ||
|
||
<xsl:template match="param"> | ||
<xsl:text> > **</xsl:text><xsl:value-of select="@name"/>:** <xsl:value-of select="normalize-space()" /><xsl:text> </xsl:text> | ||
</xsl:template> | ||
|
||
<xsl:template match="paramref"> | ||
<xsl:text>*</xsl:text> | ||
<xsl:value-of select="@name" /> | ||
<xsl:text>*</xsl:text> | ||
</xsl:template> | ||
|
||
<xsl:template match="permission"> | ||
<xsl:text> **Permission:** *</xsl:text><xsl:value-of select="@cref" />* <xsl:value-of select="normalize-space()" /> | ||
</xsl:template> | ||
|
||
<xsl:template match="returns"> | ||
<xsl:text> > </xsl:text> | ||
<xsl:value-of select="normalize-space()" /> | ||
</xsl:template> | ||
|
||
<xsl:template match="see"> | ||
<xsl:text> > *See: </xsl:text><xsl:value-of select="@cref" />* | ||
</xsl:template> | ||
|
||
<xsl:template match="seealso"> | ||
<xsl:text> > *See also: </xsl:text> | ||
<xsl:value-of select="@cref" /> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
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,23 @@ | ||
{ | ||
"NAME":"BARIS", | ||
"URL":"https://raw.githubusercontent.com/Angel-125/BARIS/master/GameData/WildBlueIndustries/000BARIS/BARIS.version", | ||
"DOWNLOAD":"https://github.com/Angel-125/BARIS/releases", | ||
"GITHUB": | ||
{ | ||
"USERNAME":"Angel-125", | ||
"REPOSITORY":"BARIS", | ||
"ALLOW_PRE_RELEASE":false, | ||
}, | ||
"VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":0, | ||
"PATCH":0 | ||
}, | ||
"KSP_VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":3, | ||
"PATCH":0 | ||
}, | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98.9 KB
GameData/WildBlueIndustries/000BARIS/EventCards/AstronautOnVacation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+81.9 KB
GameData/WildBlueIndustries/000BARIS/EventCards/AstronautRecruited.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+48.5 KB
GameData/WildBlueIndustries/000BARIS/EventCards/CorporateSponsorship.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+73.7 KB
GameData/WildBlueIndustries/000BARIS/EventCards/EngineeringAdvance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.