Skip to content

Commit 2f456df

Browse files
deploy fsharp docs
1 parent 5e05ebf commit 2f456df

File tree

4 files changed

+14
-52
lines changed

4 files changed

+14
-52
lines changed

.circleci/config.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,7 @@ jobs:
5454
git config --global user.name "plotlydocbot"
5555
echo
5656
echo "token: ${mapbox_token}" > _data/mapbox_token.yml
57-
rm -rf _posts/python/html
58-
git clone -b built git@github.com:plotly/plotly.py-docs _posts/python/html
59-
rm -rf _posts/r/md
60-
git clone -b built git@github.com:plotly/plotly.r-docs _posts/r/md
61-
mv _posts/r/md/ggplot2 _posts/ggplot2/md
62-
rm -rf _posts/julia/html
63-
git clone -b built git@github.com:plotly/plotlyjs.jl-docs _posts/julia/html
57+
make fetch_upstream_files
6458
python front-matter-ci.py _posts
6559
python check-or-enforce-order.py _posts/python
6660
python check-or-enforce-order.py _posts/python-v3

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ plot-schema.json
3535
_posts/julia/html
3636
Gemfile.lock
3737
_config_dev.yml
38+
_posts/fsharp/html

_posts/fsharp/2021-08-20-fsharp-index.html

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,45 +23,7 @@ <h1>Plotly F# Library</h1>
2323
</header>
2424

2525

26-
<p>&nbsp;</p>
26+
<h2>Documentation Examples</h2>
27+
{% assign languagelist = site.posts | where:"language","fsharp" | sort: "order" %}
2728

28-
<p>&nbsp;</p>
29-
30-
<p>&nbsp;</p>
31-
32-
<p>&nbsp;</p>
33-
34-
<p>&nbsp;</p>
35-
36-
<p>&nbsp;</p>
37-
38-
<p>&nbsp;</p>
39-
40-
<p>&nbsp;</p>
41-
42-
<p>&nbsp;</p>
43-
44-
<p>&nbsp;</p>
45-
46-
<p>&nbsp;</p>
47-
48-
<p>&nbsp;</p>
49-
50-
<p>&nbsp;</p>
51-
52-
<p>&nbsp;</p>
53-
<p>&nbsp;</p>
54-
55-
<p>&nbsp;</p>
56-
57-
<p>&nbsp;</p>
58-
59-
<p>&nbsp;</p>
60-
61-
<p>&nbsp;</p>
62-
63-
<p>&nbsp;</p>
64-
65-
<p>&nbsp;</p>
66-
67-
<p>&nbsp;</p>
29+
{% include posts/documentation_eg.html %}

makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,16 @@ fetch_adjacent_python_files:
3636
rm -rf _posts/python/html
3737
cp -r ../plotly.py/doc/build/html _posts/python/html
3838

39-
fetch_upstream_files:
40-
rm -rf _posts/python/html
39+
fetch_upstream_files: clean
4140
git clone --depth 1 -b built git@github.com:plotly/plotly.py-docs _posts/python/html
42-
rm -rf _posts/r/md
41+
git clone --depth 1 -b built git@github.com:plotly/plotlyjs.jl-docs _posts/julia/html
42+
git clone --depth 1 -b built git@github.com:plotly/plotly.net-docs _posts/fsharp/html
4343
git clone --depth 1 -b built git@github.com:plotly/plotly.r-docs _posts/r/md
4444
mv _posts/r/md/ggplot2 _posts/ggplot2/md
45+
46+
clean:
47+
rm -rf _posts/python/html
4548
rm -rf _posts/julia/html
46-
git clone --depth 1 -b built git@github.com:plotly/plotlyjs.jl-docs _posts/julia/html
49+
rm -rf _posts/fsharp/html
50+
rm -rf _posts/r/md
51+
rm -rf _posts/ggplot2/md

0 commit comments

Comments
 (0)