Skip to content

Commit

Permalink
Everything ready for release. LDPL-OMFG updated for new docs. Version…
Browse files Browse the repository at this point in the history
… name and number changed. License updated in -v.
  • Loading branch information
Lartu committed Nov 3, 2019
1 parent 9750736 commit 30ca91e
Show file tree
Hide file tree
Showing 8 changed files with 1,317 additions and 1,448 deletions.
12 changes: 12 additions & 0 deletions docs/manList
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
index.md
structure.md
data.md
procedure.md
naming.md
flow.md
arithmetic.md
text.md
list.md
map.md
io.md
cppext.md
Binary file added images/release-logos/eloquent-eoraptor-white.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 images/release-logos/eloquent-eoraptor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions man/compileman.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<?php
//Load all pages from the gitbook
$summary = file_get_contents("SUMMARY.md");
$summary = file_get_contents("manList");
$summary = explode("\n", $summary);
$manPage = ".ce 1\n.SH -=-=-=-=-=-=-=-=-=- DOCS: LDPL DOCUMENTATION -=-=-=-=-=-=-=-=-=-\n";
foreach($summary as $line){
$line = trim($line);
if(strlen($line) > 0 && $line[0] == "*"){
$posPar = strpos($line, "(");
$file = substr($line, $posPar + 1);
$file = substr($file, 0, strlen($file)-1);
$manPage = $manPage . "\n\n" . file_get_contents($file);
if(strlen($line) > 0){
$manPage = $manPage . "\n\n" . file_get_contents($line);
}
else if(strlen($line) > 0 && trim(substr($line, 0, 2)) == "##"){
$manPage = $manPage . "\n\n" . ".ce 1\n.SH -=-=-=-=- DOCS: " . trim(strtoupper(substr($line, 2))) . " -=-=-=-=-";
Expand Down
11 changes: 6 additions & 5 deletions man/generateMan.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
git clone https://www.github.com/lartu/ldpl-docs
cp compileman.php ldpl-docs/
cp ldplman-intro ldpl-docs/
cd ldpl-docs
cp -r ../docs docs
#git clone https://www.github.com/lartu/ldpl-docs
cp compileman.php docs/
cp ldplman-intro docs/
cd docs
php compileman.php > ldpl.1
cp ldpl.1 ..
cd ..
rm -rf ldpl-docs
rm -rf docs
2,725 changes: 1,292 additions & 1,433 deletions man/ldpl.1

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ldpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ int main(int argc, const char* argv[])
cout << " Complete documentation for LDPL should be found on this system" << endl;
cout << " using '\033[33;1mman ldpl\033[0m'. If you have access to the internet, the"<< endl;
cout << " documentation can also be found online at \033[36;1mdocs.ldpl-lang.org\033[0m." << endl << endl;
cout << " LDPL may be copied only under the terms of the GNU General" << endl;
cout << " Public License 3.0, which may be found in the LDPL repository." << endl <<endl;
cout << " LDPL may be copied only under the terms of the Apache License" << endl;
cout << " Version 2.0, which may be found in the LDPL repository." << endl <<endl;
cout << " This binary was compiled on \033[31;1m" << COMPILEDATE << "\033[0m at \033[31;1m" << COMPILEHOUR << "\033[0m." << endl;
cout << endl;
return 0;
Expand Down
4 changes: 2 additions & 2 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# | LDPL Version Details |
# +----------------------+

VERSION = '"4.3-dev"' #LDPL Version
VERSIONNAME = '"Diligent Dreadnoughtus"' #LDPL Version Name
VERSION = '"4.3"' #LDPL Version
VERSIONNAME = '"Eloquent Eoraptor"' #LDPL Version Name

# +-----------------+
# | The other stuff |
Expand Down

0 comments on commit 30ca91e

Please sign in to comment.