Skip to content

Commit e5e3a7e

Browse files
craiggwilsonrstam
authored andcommitted
themes and structure.
1 parent aa2ec2a commit e5e3a7e

File tree

314 files changed

+78088
-0
lines changed

Some content is hidden

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

314 files changed

+78088
-0
lines changed

Docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public

Docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# MongoDB .NET Driver Documentation
2+
3+
1. landing - the front page of all the java docs
4+
2. reference - the reference site for the current version of the docs

Docs/landing/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# MongoDB .NET Driver Front page
2+
3+
The static front page site for the .NET documentation portal.
4+
5+
## Requirements
6+
Hugo version 0.13 [download here](https://github.com/spf13/hugo/releases/tag/v0.13)
7+
<br>
8+
Check out the hugo [quickstart guide](http://gohugo.io/overview/quickstart/).
9+
10+
## Running the server
11+
To run the server call the hugo command:
12+
13+
hugo server --baseUrl=http://localhost/ --buildDrafts --watch
14+
15+
| Options explained ||
16+
| --------------------------- |--------------------------------------------------------------------------|
17+
| server | Hugo runs its own webserver to render the files |
18+
| --baseUrl=http://localhost/ | Normally the base url will be /mongo-java-driver for gh-pages |
19+
| --buildDrafts | Include draft posts in the output - these won't be published to gh-pages |
20+
| -- watch | Automatically reloads on file change |
21+
22+
23+
All generated content will appear in the `./public` folder, so you can also check the filesystem and browse it locally.<br>
24+
For more hugo server options run: `hugo --help`
25+
26+
### Data
27+
28+
All dynamic / changing data lives in `./data/releases.toml`

Docs/landing/config.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
baseurl = "/mongo-csharp-driver/"
2+
languageCode = "en-us"
3+
title = "MongoDB .NET Driver"
4+
canonifyurls = false
5+
githubRepo = "mongo-csharp-driver"
6+
7+
[params.authors]
8+
[params.authors.Derek]
9+
"firstName" = "Derek"
10+
"lastName" = "Perkins"
11+
[params.authors.Joe]
12+
"firstName" = "Joe"
13+
"lastName" = "Bergevin"
14+
[params.authors.Tanner]
15+
"firstName" = "Tanner"
16+
"lastName" = "Linsley"

Docs/landing/content/.readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
content dir

Docs/landing/data/.readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom data resources

Docs/landing/layouts/.readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom layouts here

Docs/landing/layouts/404.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
{{ partial "meta.html"}}
5+
<link rel="shortcut icon" href="{{.Site.BaseUrl}}/img/favicon.png">
6+
7+
<title>{{.Title}}</title>
8+
9+
{{ partial "assets/css.html" . }}
10+
</head>
11+
12+
<body>
13+
<!--header start-->
14+
{{ partial "header/main.html" . }}
15+
<!--header end-->
16+
17+
<div id="promo" class="jumbotron">
18+
<div class="container">
19+
<div class="row">
20+
<div class="col-md-2"></div>
21+
<div class="col-md-6">
22+
<h1>404: Page not found</h1>
23+
</div>
24+
<div class="col-md-2" id="mongodbJVMlogo"></div>
25+
</div>
26+
</div>
27+
</div>
28+
29+
30+
<!-- Footer -->
31+
<div class="container">
32+
<div class="row">
33+
<div class="col-md-12">
34+
{{ partial "footer.html" .}}
35+
</div>
36+
</div>
37+
</div>
38+
<!-- End footer -->
39+
40+
41+
<!-- javascripts -->
42+
{{ partial "assets/javascripts.html" . }}
43+
{{ partial "assets/analytics.html" . }}
44+
</body>
45+
</html>

Docs/landing/static/.nojekyll

Whitespace-only changes.

Docs/landing/static/.readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Custom static resources

0 commit comments

Comments
 (0)