Skip to content

Commit 6c68459

Browse files
committed
Update website
1 parent 2e75a63 commit 6c68459

File tree

104 files changed

+1472
-13610
lines changed

Some content is hidden

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

104 files changed

+1472
-13610
lines changed

Tools/build-website.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ https://github.com/laurent22/joplin/blob/dev/{{{sourceMarkdownFile}}}
7777
background-color: #eee;
7878
border: 1px solid #ccc;
7979
font-size: .85em;
80+
word-break: break-all;
8081
}
8182
pre code {
8283
border: none;
@@ -233,7 +234,7 @@ https://github.com/laurent22/joplin/blob/dev/{{{sourceMarkdownFile}}}
233234
display: none;
234235
}
235236
.footer {
236-
padding-top: 1em;
237+
padding: 2em;
237238
border-top: 1px solid #d4d4d4;
238239
margin-top: 2em;
239240
color: gray;
@@ -259,6 +260,23 @@ https://github.com/laurent22/joplin/blob/dev/{{{sourceMarkdownFile}}}
259260
opacity: 1;
260261
}
261262
263+
@media (min-width: 992px) {
264+
.content{
265+
display: flex;
266+
}
267+
268+
#toc{
269+
display: block!important;
270+
align-self: flex-start;
271+
width: 300px;
272+
position: sticky; top: 20px; left: 0;
273+
}
274+
275+
.main{
276+
width: calc(100% - 300px);
277+
}
278+
}
279+
262280
.bottom-links {
263281
display: flex;
264282
justify-content: center;
@@ -308,9 +326,13 @@ https://github.com/laurent22/joplin/blob/dev/{{{sourceMarkdownFile}}}
308326
309327
<div class="content">
310328
{{{tocHtml}}}
329+
330+
<div class="main">
311331
`;
312332

313333
const footerHtmlTemplate = `
334+
</div></div>
335+
314336
<div class="footer">
315337
Copyright (c) 2016-YYYY Laurent Cozic
316338
</div>

docs/api/get_started/plugins/index.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
background-color: #eee;
7373
border: 1px solid #ccc;
7474
font-size: .85em;
75+
word-break: break-all;
7576
}
7677
pre code {
7778
border: none;
@@ -228,7 +229,7 @@
228229
display: none;
229230
}
230231
.footer {
231-
padding-top: 1em;
232+
padding: 2em;
232233
border-top: 1px solid #d4d4d4;
233234
margin-top: 2em;
234235
color: gray;
@@ -254,6 +255,23 @@
254255
opacity: 1;
255256
}
256257

258+
@media (min-width: 992px) {
259+
.content{
260+
display: flex;
261+
}
262+
263+
#toc{
264+
display: block!important;
265+
align-self: flex-start;
266+
width: 300px;
267+
position: sticky; top: 20px; left: 0;
268+
}
269+
270+
.main{
271+
width: calc(100% - 300px);
272+
}
273+
}
274+
257275
.bottom-links {
258276
display: flex;
259277
justify-content: center;
@@ -362,6 +380,8 @@
362380
</li>
363381
</ul>
364382
</div>
383+
384+
<div class="main">
365385
<h1>Getting started with plugin development<a name="getting-started-with-plugin-development" href="#getting-started-with-plugin-development" class="heading-anchor">🔗</a></h1>
366386
<p>In this article you will learn the basic steps to build and test a plugin in Joplin.</p>
367387
<p>## Setting up your environment</p>
@@ -430,6 +450,8 @@ <h1>Next steps<a name="next-steps" href="#next-steps" class="heading-anchor">
430450
ga('send', 'pageview');
431451
</script>
432452

453+
</div></div>
454+
433455
<div class="footer">
434456
Copyright (c) 2016-2020 Laurent Cozic
435457
</div>

docs/api/overview/index.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
background-color: #eee;
7373
border: 1px solid #ccc;
7474
font-size: .85em;
75+
word-break: break-all;
7576
}
7677
pre code {
7778
border: none;
@@ -228,7 +229,7 @@
228229
display: none;
229230
}
230231
.footer {
231-
padding-top: 1em;
232+
padding: 2em;
232233
border-top: 1px solid #d4d4d4;
233234
margin-top: 2em;
234235
color: gray;
@@ -254,6 +255,23 @@
254255
opacity: 1;
255256
}
256257

258+
@media (min-width: 992px) {
259+
.content{
260+
display: flex;
261+
}
262+
263+
#toc{
264+
display: block!important;
265+
align-self: flex-start;
266+
width: 300px;
267+
position: sticky; top: 20px; left: 0;
268+
}
269+
270+
.main{
271+
width: calc(100% - 300px);
272+
}
273+
}
274+
257275
.bottom-links {
258276
display: flex;
259277
justify-content: center;
@@ -362,6 +380,8 @@
362380
</li>
363381
</ul>
364382
</div>
383+
384+
<div class="main">
365385
<h1>Extending Joplin<a name="extending-joplin" href="#extending-joplin" class="heading-anchor">🔗</a></h1>
366386
<p>Joplin provides a number of extension points to allow third-party applications to access its data, or to develop plugins.</p>
367387
<p>The two main extension points are:</p>
@@ -420,6 +440,8 @@ <h1>Extending Joplin<a name="extending-joplin" href="#extending-joplin" class="h
420440
ga('send', 'pageview');
421441
</script>
422442

443+
</div></div>
444+
423445
<div class="footer">
424446
Copyright (c) 2016-2020 Laurent Cozic
425447
</div>

docs/api/references/development_mode/index.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
background-color: #eee;
7373
border: 1px solid #ccc;
7474
font-size: .85em;
75+
word-break: break-all;
7576
}
7677
pre code {
7778
border: none;
@@ -228,7 +229,7 @@
228229
display: none;
229230
}
230231
.footer {
231-
padding-top: 1em;
232+
padding: 2em;
232233
border-top: 1px solid #d4d4d4;
233234
margin-top: 2em;
234235
color: gray;
@@ -254,6 +255,23 @@
254255
opacity: 1;
255256
}
256257

258+
@media (min-width: 992px) {
259+
.content{
260+
display: flex;
261+
}
262+
263+
#toc{
264+
display: block!important;
265+
align-self: flex-start;
266+
width: 300px;
267+
position: sticky; top: 20px; left: 0;
268+
}
269+
270+
.main{
271+
width: calc(100% - 300px);
272+
}
273+
}
274+
257275
.bottom-links {
258276
display: flex;
259277
justify-content: center;
@@ -362,6 +380,8 @@
362380
</li>
363381
</ul>
364382
</div>
383+
384+
<div class="main">
365385
<h1>Development mode<a name="development-mode" href="#development-mode" class="heading-anchor">🔗</a></h1>
366386
<p>When experimenting with Joplin, for example when developing a plugin or trying a theme, you might want to run Joplin in development mode. Doing so means that Joplin will run using a different profile, so you can experiment without risking to accidentally change or delete your data.</p>
367387
<p>To enable Development Mode, open Joplin as normal, then go to <strong>Help =&gt; Copy dev mode command to clipboard</strong>. This will copy a command to the clipboard. Now close Joplin, and start it again in dev mode using the command you've just copied.</p>
@@ -401,6 +421,8 @@ <h1>Development mode<a name="development-mode" href="#development-mode" class="h
401421
ga('send', 'pageview');
402422
</script>
403423

424+
</div></div>
425+
404426
<div class="footer">
405427
Copyright (c) 2016-2020 Laurent Cozic
406428
</div>

0 commit comments

Comments
 (0)