Skip to content

Commit 9fbc339

Browse files
authored
Merge pull request #37 from Joe7M/master
Website redesign
2 parents 89f81a2 + 43a1fef commit 9fbc339

File tree

423 files changed

+9853
-25031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

423 files changed

+9853
-25031
lines changed

_build/Makefile

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pandoc_options=--from markdown-tex_math_dollars --to html5 --syntax-definition=s
2222
pandoc_ide_options=--from markdown-tex_math_dollars --to html5
2323
bas = $(patsubst layouts/%.html, $(out)/%.bas, $(wildcard layouts/*.html))
2424
pages = $(patsubst pages/%.markdown, $(out)/pages3/%.html, $(wildcard pages/*.markdown))
25-
posts = $(patsubst posts/%.markdown, $(out)/posts3/%.html, $(wildcard posts/*.markdown))
2625
scripts = $(patsubst scripts/%.html, $(out)/scripts2/%.html, $(wildcard scripts/*.html))
2726
reference = $(patsubst reference/%.markdown, $(out)/reference3/%.html, $(wildcard reference/*.markdown))
2827
reference_txt = $(patsubst reference/%.markdown, $(out)/reference_txt/%.txt, $(wildcard reference/*.markdown))
@@ -65,18 +64,6 @@ $(out)/pages3/%.html: $(out)/pages2/%.html
6564
$(mkdir)
6665
$(sbasic) $(out)/sitepage.bas $< > $@
6766

68-
$(out)/posts/%.html: posts/%.markdown
69-
$(mkdir)
70-
$(pandoc) $(pandoc_options) -o $@ $<
71-
72-
$(out)/posts2/%.html: $(out)/posts/%.html $(bas)
73-
$(mkdir)
74-
$(sbasic) $(out)/article.bas $< > $@
75-
76-
$(out)/posts3/%.html: $(out)/posts2/%.html
77-
$(mkdir)
78-
$(sbasic) $(out)/sitepage.bas $< > $@
79-
8067
$(out)/scripts/%.bas: scripts/%.html $(bas) refindex.bas
8168
$(mkdir)
8269
$(sbasic) mkpage.bas $< > $@
@@ -100,15 +87,12 @@ $(out)/reference_ide/%.html: reference/%.markdown
10087
all: $(reference) $(reference_ide) $(out)/sbref.txt $(out)/sbasic_ref.csv $(pages) $(posts) $(scripts)
10188
@mkdir -p ../reference/ide
10289
@mkdir -p ../pages
103-
@mkdir -p ../posts
10490
@$(sbasic) deploy.bas
10591
@cp $(out)/sbref.txt ../reference/
10692
@cp $(out)/pages3/*.html ../pages
107-
@cp $(out)/posts3/*.html ../posts
10893
@cp $(out)/scripts2/*.html ../pages
10994
@mv ../pages/index.html ../
11095
@cp layouts/index.html ../pages
111-
@cp layouts/index.html ../posts
11296
@cp layouts/index.html ../samples
11397
@cp layouts/index.html ../reference
11498
@cp layouts/index.html ../reference/ide

_build/includes/footer.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<a href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="nofollow">Markdown</a>
55
processed with
66
<a href="https://pandoc.org/MANUAL.html#pandocs-markdown" target="_blank" rel="nofollow">{{ pandoc_version }}</a>
7-
| Template by <a href="http://html5-templates.com/" target="_blank" rel="nofollow">HTML5 Templates</a>
87
</div>
98
</div>
109
</div>

_build/includes/header.html

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,23 @@
1+
<button onclick="topFunction()" id="BackToTopBtn" title="Go to top">&#11205;</button>
2+
<script src="/backtotop.js"></script>
13
<div class="wrapAll clearfix">
2-
<div class="sidebar">
4+
<nav class="navigation">
35
<div class="logo">
4-
<a href="/"><img src='/images/sb-desktop-128x128.png' alt="logo"></a>
6+
<a href="/"><img src='/images/sb-logo.png' alt="logo"></a>
57
</div>
6-
<div class="navigation">
7-
<h4>SmallBASIC</h4>
8-
<ul>
9-
<li><a href="/">Main page</a></li>
10-
<li><a href="/pages/download.html">Download</a></li>
11-
<li><a href="/pages/reference.html">Language reference</a></li>
12-
<li><a href="/pages/samples.html">Code library</a></li>
13-
</ul>
14-
<hr class="menuSeparator"/>
15-
<ul>
16-
<li><a href="/pages/news.html">News</a></li>
17-
<li><a href="/pages/articles.html">Articles</a></li>
18-
<li><a href="/pages/community.html">Community</a></li>
19-
<li><a href="/pages/changelog.html">Changelog</a></li>
20-
<li><a href="/pages/screenshots.html">Screenshots</a></li>
21-
<li><a href="/pages/links.html">Links</a></li>
22-
</ul>
8+
<div class="navlinks">
9+
<a href="/pages/download.html">Download</a>
10+
<a href="/pages/news.html">News</a>
11+
<a href="/pages/community.html">Community</a>
12+
<a href="/pages/articles.html">Resources</a>
13+
<a href="/pages/reference.html">Language Reference</a>
14+
<a href="/pages/guide.html">SmallBASIC Manual</a>
2315
</div>
24-
</div>
16+
</nav>
2517
<div class="mainsection">
2618
<div class="tabs clearfix">
27-
<div class="tabsLeft">
28-
<ul>
29-
<li><a href="#" class="active">Article</a></li>
30-
<li><a href="https://www.syntaxbomb.com/smallbasic">Discuss</a></li>
31-
</ul>
32-
</div>
33-
<div id="simpleSearch">
34-
<form action="https://github.com/smallbasic/smallbasic.github.io/search"
35-
target="_github" accept-charset="UTF-8" method="get" style="display:inline">
36-
<div id="submitSearch">
37-
<button type="submit">&nbsp;</button>
38-
<input type="hidden" class="js-site-search-type-field" name="type">
39-
<input type="hidden" name="utf8" value="">
40-
<input type="hidden" name="l" value="Visual Basic">
41-
<input type="text" name="q" placeholder="Search" id="searchInput">
42-
</div>
43-
</form>
44-
</div>
4519
<div class="tabsRight">
46-
<ul>
47-
<li><a target="_github" href="{{ page.sourceurl }}">View source</a></li>
48-
<li><a target="_github" href="{{ page.changesurl }}">View history</a></li>
49-
</ul>
20+
<a target="_github" href="{{ page.sourceurl }}">Edit</a>
21+
<a target="_github" href="{{ page.changesurl }}">History</a>
5022
</div>
5123
</div>

_build/layouts/reference.html

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,5 @@ <h1>{{ upper(page.name) }}</h1>
5959
<a href="/reference/{{ next_item[1] }}.html">{{ next_item[0] }} </a>&nbsp;
6060
{% next next_item %}
6161
</div>
62-
<div class="subtitle">
63-
If there is insufficient information on this page and you wish learn more about {{ page.name }},
64-
please send an email to smallbasic@gmail.com. You can help to improve information about
65-
{{ page.name }} by submitting a <a href="https://github.com/smallbasic/smallbasic.github.io/pulls">pull request</a>,
66-
click View Source for details. Note, an offline language reference text file is also available - see the Download section.
67-
</div>
68-
</div>
69-
<div class="categories">
70-
<a href="/pages/console.html">Console </a>
71-
<a href="/pages/data.html">Data </a>
72-
<a href="/pages/date.html">Date </a>
73-
<a href="/pages/file.html">File </a>
74-
<a href="/pages/graphics.html">Graphics </a>
75-
<a href="/pages/language.html">Language </a>
76-
<a href="/pages/math.html">Math </a>
77-
<a href="/pages/string.html">String </a>
78-
<a href="/pages/system.html">System </a>
7962
</div>
8063
</div>

_build/pages/articles.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
## Programming in SmallBASIC
44

5-
- [User guide](/pages/guide.html): brief description of SmallBASIC for advanced BASIC users
6-
- Programming SmallBASIC by Gerard Thomas Lab&egrave;rnia: great starting point for all who want to learn programing in SmallBASIC
5+
- [SmallBASIC Manual](/pages/guide.html): Brief description of SmallBASIC for advanced BASIC users
6+
- Programming SmallBASIC by Gerard Thomas Lab&egrave;rnia: great starting point for all who want to learn programing in SmallBASIC
77
- [English](/pages/course_gtl.html)
88
- [Catalan](/docs/smallbasic.ca.pdf)
99
- [Vademecum](/pages/vade.html): comprehensive tutorial for beginners and experts
10+
- [Code Library](/pages/samples.html): Huge collection of examples
1011
- [Escape codes](/pages/escape.html)
1112
- [TRY/CATCH](/pages/trycatch.html)
1213
- [Network programming](/pages/network.html)
@@ -38,6 +39,8 @@
3839

3940
## Miscellaneous
4041

42+
- [Changelog](/pages/changelog.html)
4143
- [Android Changelog](/pages/android_changelog.html)
44+
- [Screenshots](/pages/screenshots.html)
4245
- [Contributing](/pages/contributing.html)
4346

_build/pages/community.markdown

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,44 @@
55
- [SyntaxBomb / SmallBASIC](https://www.syntaxbomb.com/smallbasic)
66

77
## Issues
8+
89
- [GitHub](https://github.com/smallbasic/SmallBASIC/issues){target=new}
910

1011
## Email
12+
1113
- [smallbasic@gmail.com](mailto:smallbasic@gmail.com)
1214

15+
## Source Code
16+
17+
- [Github](https://github.com/smallbasic){target=_blank}
18+
- [License](http://www.gnu.org/licenses/gpl.html){target=_blank}
19+
- [Sourceforge Project page](http://sourceforge.net/projects/smallbasic/){target=_blank}
20+
- [All sourceforge releases](http://sourceforge.net/project/showfiles.php?group_id=22348){target=_blank}
21+
- [Source code analysis](https://scan.coverity.com/projects/smallbasic){target=_blank}
22+
23+
## External Articles
24+
25+
- [Wikipedia entry](http://en.wikipedia.org/wiki/SmallBASIC){target=_blank}
26+
- [Learn X in Y minutes](https://learnxinyminutes.com/docs/smallbasic/){target=_blank}
27+
- [David A. Wheeler's Suggestions for PalmOS PDA Users](http://www.dwheeler.com/palm-suggest.html){target=_blank}
28+
29+
## External Documentation
30+
31+
- [Dartmouth BASIC spec circa 1964](http://www.bitsavers.org/pdf/dartmouth/BASIC_Oct64.pdf){target=_blank}
32+
33+
## ECMA-55
34+
35+
- [John's ECMA-55 Minimal BASIC Compiler](http://buraphakit.sourceforge.net/BASIC.shtml){target=_blank}
36+
- [STANDARD ECMA-55](http://sourceforge.net/p/buraphakit/MinimalBASIC/ci/default/tree/ECMA-55.TXT){target=_blank}
37+
1338
## Archived
39+
1440
- [Google groups](https://groups.google.com/forum/#!forum/sbasic){target=_blank}
1541
- [Retrobasic](https://retrobasic.allbasic.info/index.php?PHPSESSID=pn2qric1ibenvcm6sc2ic49cra&board=22.0){target=_blank}
1642
- [Mailing List](https://sourceforge.net/projects/smallbasic/lists/smallbasic-public){target=_blank}
1743
- [Sourceforge Tickets](https://sourceforge.net/p/smallbasic/_list/tickets?source=navbar){target=_blank}
1844

45+
## What About the Other "SmallBASIC?"
46+
47+
We noticed there's another version of [SmallBASIC](https://smallbasic-publicwebsite.azurewebsites.net){target=_blank}.
48+
Other than the naming coincidence, our version of SmallBASIC doesn't have anything to do with this other version.

_build/pages/contributing.markdown

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
# Contributing
22

3-
## Reference documentation
4-
5-
1 Navigate to the documentation page:
6-
7-
- https://github.com/smallbasic/smallbasic.github.io
8-
9-
2 Click clone to create your own copy.
10-
11-
3 In your clone, navigate to any of the poorly documented SUBs/FUNCs
12-
13-
- For example:
14-
15-
- https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/reference/569-data-data.markdown
16-
17-
4 Click the edit link to make some improvements.
18-
19-
- Since this is BASIC, in a lot of cases there's already some other place that could be used for "inspiration" for example;
20-
21-
- https://www.c64-wiki.com/wiki/DATA
22-
23-
5 Commit and raise a pull request.
24-
25-
- Click "Create a new branch" for this commit and start a pull request.
26-
- Click "Learn more about pull requests."
27-
- Click "commit"
28-
- You don't need any special software to do any of this, just a web browser
3+
## Improve the Reference Documentation
4+
5+
1. Navigate to the documentation page:
6+
- [https://github.com/smallbasic/smallbasic.github.io](https://github.com/smallbasic/smallbasic.github.io)
7+
2. Click clone to create your own copy.
8+
3. In your clone, navigate to any of the documented SUBs/FUNCs
9+
- For example DATA:
10+
- [https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/reference/569-data-data.markdown](https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/reference/569-data-data.markdown)
11+
4. Click the edit link to make some improvements.
12+
- Since this is BASIC, in a lot of cases there's already some other place that could be used for "inspiration" for example;
13+
- [https://www.c64-wiki.com/wiki/DATA](https://www.c64-wiki.com/wiki/DATA)
14+
5. Commit and raise a pull request.
15+
- Click "Create a new branch" for this commit and start a pull request.
16+
- Click "Learn more about pull requests."
17+
- Click "commit"
18+
- You don't need any special software to do any of this, just a web browser

_build/pages/download.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@
4545

4646
[Offline help text](../reference/sbref.txt){target="_blank"}
4747

48+
## Changelog
49+
50+
- [Changelog](/pages/changelog.html)
51+
- [Android Changelog](/pages/android_changelog.html)

0 commit comments

Comments
 (0)