You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ See [the docs](https://franklinjl.org) for more information and examples.
54
54
55
55
Some examples of websites using Franklin (_if you're using Franklin with a public repo, consider adding the "franklin" tag to the repo to help others find examples, thanks!_)
56
56
57
-
**Adapted templates** (i.e. starting from one of [the available themes](https://tlienart.github.io/FranklinTemplates.jl/))
57
+
**Adapted templates** (i.e. starting from one of [the available themes](https://juliadocs.org/FranklinTemplates.jl/))
58
58
* Franklin's own website is written in Franklin, [see docs/](docs/)
59
59
*[@cormullion's website](https://cormullion.github.io), the author of [Luxor.jl](https://github.com/JuliaGraphics/Luxor.jl),
60
60
* MLJ's [tutorial website](https://alan-turing-institute.github.io/DataScienceTutorials.jl/) which shows how Franklin can interact nicely with [Literate.jl](https://github.com/fredrikekre/Literate.jl)
@@ -80,7 +80,7 @@ Some examples of websites using Franklin (_if you're using Franklin with a publi
80
80
* The [Julia website](https://julialang.org), including the blog, are deployed using Franklin ([repo](https://github.com/JuliaLang/www.julialang.org))
81
81
*[Circuitscape's website](https://circuitscape.org) was migrated from Jekyll ([repo](https://github.com/Circuitscape/www.circuitscape.org))
82
82
*[@zlatanvasovic's website](https://zlatanvasovic.github.io) using Bootstrap 4.5 ([repo](https://github.com/zlatanvasovic/zlatanvasovic.github.io))
83
-
*[PkgPage.jl](https://tlienart.github.io/PkgPage.jl/), front-page generator based on Franklin using Bootstrap 4.5
83
+
*[PkgPage.jl](https://juliadocs.org/PkgPage.jl/), front-page generator based on Franklin using Bootstrap 4.5
84
84
*[@abhishalya's website](https://abhishalya.github.io) using a custom minimalistic theme ([repo](https://github.com/abhishalya/abhishalya.github.io))
85
85
*[JuliaCon's website](https://juliacon.org) using Franklin and Bootstrap ([repo](https://github.com/JuliaCon/www.juliacon.org))
86
86
*[JuliaGPU's website](https://juliagpu.org) using Franklin and a custom template ([repo](https://github.com/JuliaGPU/juliagpu.org))
@@ -114,7 +114,7 @@ julia> serve()
114
114
Modify the files in `MyNewSite/src` and see the changes being live-rendered in your browser.
115
115
Head to [the docs](https://franklinjl.org) for more information.
116
116
117
-
You can also start from [one of the templates](https://tlienart.github.io/FranklinTemplates.jl/) by doing something like:
117
+
You can also start from [one of the templates](https://juliadocs.org/FranklinTemplates.jl/) by doing something like:
Copy file name to clipboardExpand all lines: demos/index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,12 @@ hasmath = true
7
7
8
8
# Franklin Demos
9
9
10
-
\style{text-align:center;width:100%;display:inline-block;font-variant-caps:small-caps}{[**Click here to see the source**](https://github.com/tlienart/Franklin.jl/tree/master/demos)}
10
+
\style{text-align:center;width:100%;display:inline-block;font-variant-caps:small-caps}{[**Click here to see the source**](https://github.com/JuliaDocs/Franklin.jl/tree/master/demos)}
11
11
12
12
This website is meant to be a quick way to show how to do stuff that people ask (or that I thought would be a nice demo), it will complement the [official documentation](https://franklinjl.org/).
13
13
14
14
It's not meant to be beautiful, rather just show how to get specific stuff done.
15
-
If one block answers one of your question, make sure to check [the source](https://github.com/tlienart/Franklin.jl/tree/master/demos/index.md) to see how it was done.
15
+
If one block answers one of your question, make sure to check [the source](https://github.com/JuliaDocs/Franklin.jl/tree/master/demos/index.md) to see how it was done.
16
16
The ordering is reverse chronological but just use the table of contents to guide you to whatever you might want to explore.
17
17
18
18
**Note**: an important philosophy here is that if you can write a Julia function that would produce the HTML you want, then write that function and let Franklin call it.
@@ -39,7 +39,7 @@ will be rendered as:
39
39
40
40
{{ render_table }}
41
41
42
-
This done via a `hfun_render_table` which can be found in [`utils.jl`](https://github.com/tlienart/Franklin.jl/blob/master/demos/utils.jl).
42
+
This done via a `hfun_render_table` which can be found in [`utils.jl`](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/utils.jl).
43
43
44
44
45
45
@@ -194,8 +194,8 @@ Here's an example with the insertion of the content of a file `foo/content.md`;
194
194
195
195
{{insertmd foo/content.md}}
196
196
197
-
You can look at [`utils.jl`](https://github.com/tlienart/Franklin.jl/blob/master/demos/utils.jl) for the definition of the `hfun` (same as above), at [`index.md`](https://github.com/tlienart/Franklin.jl/blob/master/demos/index.md) to see how it's called and at [`foo/content.md`](https://github.com/tlienart/Franklin.jl/blob/master/demos/foo/content.md) for the content file.
198
-
Finally you can also check out the [`config.md`](https://github.com/tlienart/Franklin.jl/blob/master/demos/config.md) file to see how the content page is ignored.
197
+
You can look at [`utils.jl`](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/utils.jl) for the definition of the `hfun` (same as above), at [`index.md`](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/index.md) to see how it's called and at [`foo/content.md`](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/foo/content.md) for the content file.
198
+
Finally you can also check out the [`config.md`](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/config.md) file to see how the content page is ignored.
199
199
200
200
## (012) Dates
201
201
@@ -240,15 +240,15 @@ It's fairly easy to add a "copy" button to your code blocks using a tool like [
240
240
In fact on this demo page, as you can see, there is a copy button on all code blocks.
241
241
The steps to reproduce this are:
242
242
243
-
* copy the [`clipboard.min.js`](https://github.com/tlienart/Franklin.jl/blob/master/demos/_libs/clipboard.min.js) to `/libs/clipboard.min.js` (_note that this is an old version of the library, `1.4` or something, if you take the most recent version, you will have to adapt the script_)
243
+
* copy the [`clipboard.min.js`](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/_libs/clipboard.min.js) to `/libs/clipboard.min.js` (_note that this is an old version of the library, `1.4` or something, if you take the most recent version, you will have to adapt the script_)
244
244
* load that in `_layout/head.html` adding something like
245
245
246
246
```html
247
247
<script src="/libs/clipboard.min.js"></script>
248
248
```
249
249
250
-
* add Javascript in the `_layout/foot.html`, something [like this](https://github.com/tlienart/Franklin.jl/blob/master/demos/_layout/foot_clipboard.html)
251
-
* adjust the CSS, for instance [something like this](https://github.com/tlienart/Franklin.jl/blob/0276b1afb054017ff7e81bc7d083021a867a4b92/demos/_css/extras.css#L37-L61)
250
+
* add Javascript in the `_layout/foot.html`, something [like this](https://github.com/JuliaDocs/Franklin.jl/blob/master/demos/_layout/foot_clipboard.html)
251
+
* adjust the CSS, for instance [something like this](https://github.com/JuliaDocs/Franklin.jl/blob/0276b1afb054017ff7e81bc7d083021a867a4b92/demos/_css/extras.css#L37-L61)
252
252
253
253
and that's it 🏁.
254
254
@@ -481,7 +481,7 @@ Now observe that
481
481
482
482
Latexify produces a LaTeX string which should basically be passed to KaTeX. To do that you need to recuperate the output, extract the string and pass it into a maths block.
483
483
484
-
Here there's a bug with `\begin{equation}` in Franklin (issue [#584](https://github.com/tlienart/Franklin.jl/issues/584)) which is why I'm replacing those with `$$` but it should be fixed in the near future so that you wouldn't have to use these two "replace" lines:
484
+
Here there's a bug with `\begin{equation}` in Franklin (issue [#584](https://github.com/JuliaDocs/Franklin.jl/issues/584)) which is why I'm replacing those with `$$` but it should be fixed in the near future so that you wouldn't have to use these two "replace" lines:
485
485
486
486
```julia:lx1
487
487
using Latexify
@@ -494,7 +494,7 @@ println(ls.s) # hide
494
494
495
495
## (003) styling of code output blocks
496
496
497
-
At the moment (August 2020) no particular class is added on an output (see [#531](https://github.com/tlienart/Franklin.jl/issues/531)); you can still do something similar by adding a `@@code-output` (or whatever appropriate name) around the command that extracts the output and specify this in your css (see `extras.css`):
497
+
At the moment (August 2020) no particular class is added on an output (see [#531](https://github.com/JuliaDocs/Franklin.jl/issues/531)); you can still do something similar by adding a `@@code-output` (or whatever appropriate name) around the command that extracts the output and specify this in your css (see `extras.css`):
Copy file name to clipboardExpand all lines: docs/extras/lunr.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ $> npm install cheerio
24
24
25
25
### Files
26
26
27
-
Copy [this folder](https://github.com/tlienart/Franklin.jl/tree/master/docs/_libs/lunr) to a `/_libs/lunr/` directory.
27
+
Copy [this folder](https://github.com/JuliaDocs/Franklin.jl/tree/master/docs/_libs/lunr) to a `/_libs/lunr/` directory.
28
28
Discard the `lunr_index.js` which is the index of this website, a version for your website will be generated dynamically.
29
29
30
30
The important files are `build_index.js` and `lunrclient.js` (of which a minified version is provided which you will want to re-generate if you modify the base file).
Copy file name to clipboardExpand all lines: docs/faq/technical.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
4
4
# FAQ - Technical
5
5
6
-
If you have a question that you couldn't find an answer to easily, don't hesitate to [open an issue](https://github.com/tlienart/Franklin.jl/issues/new) on GitHub, it will help me make this section more complete!
6
+
If you have a question that you couldn't find an answer to easily, don't hesitate to [open an issue](https://github.com/JuliaDocs/Franklin.jl/issues/new) on GitHub, it will help me make this section more complete!
7
7
8
8
\toc
9
9
10
10
## Styling
11
11
12
12
### Can you style footnote text?
13
13
14
-
**Reference**: [issue 243](https://github.com/tlienart/Franklin.jl/issues/243), **more on this**: [styling](/styling/classes/).
14
+
**Reference**: [issue 243](https://github.com/JuliaDocs/Franklin.jl/issues/243), **more on this**: [styling](/styling/classes/).
15
15
16
16
For reference basically, a footnote is inserted as
17
17
@@ -97,7 +97,7 @@ like this: \eqref{eqabc}.
97
97
98
98
### How to use loops for templating?
99
99
100
-
**Reference**: [issue 251](https://github.com/tlienart/Franklin.jl/issues/251), **more on this**: [code tricks](/code/eval-tricks/).
100
+
**Reference**: [issue 251](https://github.com/JuliaDocs/Franklin.jl/issues/251), **more on this**: [code tricks](/code/eval-tricks/).
101
101
102
102
Since you can show the output of any Julia code block (and interpret that output as Franklin markdown), you can use this to help with templating.
0 commit comments