Skip to content

Commit e3f9ee7

Browse files
committed
add front page and fix logo link
1 parent ccdc34e commit e3f9ee7

File tree

11 files changed

+726
-21
lines changed

11 files changed

+726
-21
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ This template is *not* the long term plan (unless it is improved enough). We ca
4646
Eventually the build will just be
4747

4848
dotnet tool restore
49+
dotnet restore FSharp.Core
4950
dotnet fsdocs build
5051

5152
For now, we want to pick up the latest copies of FSharp.Formatting and FSharp.Core, and set you up to make contributions to these. So we ask you to clone local copies of these:
@@ -57,12 +58,12 @@ For now, we want to pick up the latest copies of FSharp.Formatting and FSharp.Co
5758
popd
5859

5960
pushd FSharp.Formatting
60-
.\build
61+
.\build -t Build
6162
popd
6263

6364
Then do iterative development using:
6465

65-
FSharp.Formatting\src\FSharp.Formatting.CommandTool\bin\Debug\netcoreapp3.1\fsdocs.exe watch --sourcefolder fsharp
66+
FSharp.Formatting\src\FSharp.Formatting.CommandTool\bin\Release\netcoreapp3.1\fsdocs.exe watch --sourcefolder fsharp
6667

6768
## CI Pipeline
6869

docs/_template.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>{{page-title}}</title>
7+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8+
<meta name="author" content="{{authors}}">
9+
10+
<link rel="stylesheet" id="theme_link" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.3.1/materia/bootstrap.min.css">
11+
<script src="https://code.jquery.com/jquery-3.4.1.min.js" ></script>
12+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
13+
14+
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
15+
<!-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script> -->
16+
17+
<link type="text/css" rel="stylesheet" href="{{root}}/content/navbar-fixed-left.css" />
18+
<link type="text/css" rel="stylesheet" href="{{root}}/content/fsdocs-style.css" />
19+
<script type="text/javascript" src="{{root}}/content/fsdocs-tips.js"></script>
20+
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
21+
<!--[if lt IE 9]>
22+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
23+
<![endif]-->
24+
<!-- BEGIN SEARCH BOX: this adds support for the search box -->
25+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/JavaScript-autoComplete/1.0.4/auto-complete.css" />
26+
<!-- END SEARCH BOX: this adds support for the search box -->
27+
28+
</head>
29+
30+
<body>
31+
<nav class="navbar navbar-expand-md navbar-light bg-secondary fixed-left">
32+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
33+
<span class="navbar-toggler-icon"></span>
34+
</button>
35+
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
36+
<a class="navbar-brand" href="{{root}}">{{project-name}}</a>
37+
<a href="{{root}}"><img src="{{root}}/img/logo.png" style="width:140px;height:140px;margin:10px 0px 0px 35px;border-style:none;" /></a>
38+
<!-- BEGIN SEARCH BOX: this adds support for the search box -->
39+
<div id="header">
40+
<div class="searchbox">
41+
<label for="search-by">
42+
<i class="fas fa-search"></i>
43+
</label>
44+
<input data-search-input="" id="search-by" type="search" placeholder="Search..." />
45+
<span data-search-clear="">
46+
<i class="fas fa-times"></i>
47+
</span>
48+
</div>
49+
</div>
50+
51+
<!-- END SEARCH BOX: this adds support for the search box -->
52+
<ul class="navbar-nav">
53+
<li class="nav-item"><a class="nav-link" href="{{repository-url}}">Source on GitHub</a></li>
54+
{{list-of-namespaces}}
55+
</ul>
56+
</div>
57+
</nav>
58+
<div class="container" id="main">
59+
{{document}}
60+
{{tooltips}}
61+
</div>
62+
<a href="{{repository-url}}">
63+
<img style="position: absolute; top: 0; right: 0; border: 0;"
64+
src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub">
65+
</a>
66+
67+
<!-- BEGIN SEARCH BOX: this adds support for the search box -->
68+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/JavaScript-autoComplete/1.0.4/auto-complete.css" />
69+
<script type="text/javascript">var fsdocs_search_baseurl = '{{root}}'</script>
70+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.8/lunr.min.js"></script>
71+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/JavaScript-autoComplete/1.0.4/auto-complete.min.js"></script>
72+
<script type="text/javascript" src="{{root}}/content/fsdocs-search.js"></script>
73+
<!-- END SEARCH BOX: this adds support for the search box -->
74+
</body>
75+
76+
</html>
77+

0 commit comments

Comments
 (0)