Skip to content

Commit 18c3589

Browse files
committed
Improved navigation and tagline.
Documentation for multiple targets.
1 parent 153e85f commit 18c3589

File tree

1,984 files changed

+2706
-424
lines changed

Some content is hidden

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

1,984 files changed

+2706
-424
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/SwiftBitcoin.xcscheme

Lines changed: 0 additions & 78 deletions
This file was deleted.

.swiftpm/xcode/xcshareddata/xcschemes/generate.xcscheme

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1500"
3+
LastUpgradeVersion = "1520"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -35,6 +35,7 @@
3535
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
3636
launchStyle = "0"
3737
useCustomWorkingDirectory = "YES"
38+
customWorkingDirectory = "~/Developer/CraigWrong/swift-bitcoin.github.io"
3839
ignoresPersistentStateOnLaunch = "NO"
3940
debugDocumentVersioning = "YES"
4041
debugServiceExtension = "internal"

src/content/page/pageHome.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ let pageHome = Page("/", "Home") { #"""
44
55
# Welcome to Swift Bitcoin
66
7-
Swift Bitcoin is a bitcoin library for Swift.
7+
_Swift Bitcoin_ is a Pure-Swift Bitcoin client implementation with full node capabilities.
88
9-
Find out more about it [here](/about).
9+
Find out more about it [here](/info).
1010
1111
"""# }

src/content/page/pageAbout.swift renamed to src/content/page/pageInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SwiftySites
22

3-
let pageAbout = Page("/about", "About") { #"""
3+
let pageInfo = Page("/info", "Info") { #"""
44
55
# Bitcoin Swift
66

src/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let posts = [
77
let site = Site(
88
config,
99
content: (
10-
[pageHome, pageAbout, pageCategories],
10+
[pageHome, pageInfo, pageCategories],
1111
posts,
1212
categories
1313
),
@@ -18,4 +18,4 @@ let site = Site(
1818
)
1919
)
2020

21-
site.render()
21+
site.render(clean: true)

src/partials/navigationPartial.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import SwiftySites
33
let navigationPartial = { (page: Page?) -> String in """
44
<nav>
55
<ul>
6-
\([pageHome, pageAbout].reduce("") {
6+
\([pageHome, pageInfo].reduce("") {
77
$0 + """
88
<li>\(page?.path == $1.path
99
? """
@@ -16,7 +16,10 @@ let navigationPartial = { (page: Page?) -> String in """
1616
"""
1717
})
1818
<li>
19-
<a href="/docc/documentation/bitcoin/">Documentation</a>
19+
<a href="/docc/documentation/bitcoin/">Docs</a>
20+
</li>
21+
\(/* External link */"")<li>
22+
<a href="https://github.com/swift-bitcoin/swift-bitcoin">Code</a>
2023
</li>
2124
</ul>
2225
</nav>

static/docc/bcnode/css/chunk-c0335d80.10a2f091.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/docc/bcnode/css/documentation-topic.1d1eec04.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/docc/bcnode/css/documentation-topic~topic.b6287bcf.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/docc/bcnode/css/documentation-topic~topic~tutorials-overview.d6f5411c.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)