So starten Sie Ihr DS / ML / AI / Tech-Blog mit einem Minimum an KomplexitÀt im Zusammenhang mit dem Hosting und der Bereitstellung dieses Blogs.
Ende Februar 2020 stellten die Jungs von fast.aider Welt fastpageseine Blogging-Plattform vor. Ich stelle fest, dass es darauf fastpagesbasiert Jekyll, worĂŒber es viele BeitrĂ€ge auf HabrĂ© gibt.
Ein Beispiel fĂŒr ein Blog in der Engine fastpagesist dieses Blog .
Das Hauptunterscheidungsmerkmal und der Hauptvorteil fastpagessind die sofort unterstĂŒtzten Postformate:
- Jupyter-NotizbĂŒcher (Erweiterung
.ipynb); - Markdown-Dateien (Erweiterung
.md); - Word-Dateien (Erweiterung
.docx)
Daher muss der Blog-Autor den Beitrag in einem der oben genannten Formate im entsprechenden Verzeichnis speichern:
- './_notebooks/' fĂŒr
.ipynb; - './_posts/' fĂŒr
.md; - './_word/' fĂŒr
.docx.
Und alles andere wird funktionieren fastpages, wie die Autoren behaupten.
fastpages verwendet Github Pages fĂŒr das Hosting und Github Actions zur Automatisierung des Post-Publishing.
Soweit ich weiĂ, fastpageshandelt es sich hierbei um eine Weiterentwicklung des Github Pages + -Pakets Jekyll, mit dem Sie den veröffentlichten Beitrag sofort vom Jupyter-Laptop abrufen können.
Erstellen eines Blogs mit fastpagesundGitHub
, fastpages.
fastpages:
-
fastpages

- pull request ( ~ 30 ), , .

- pull request'a .
. ./_config.yml, :
titleâ , ;
descriptionâ , (, );
github_usernameâ GitHub ;
github_repoâ , GitHub, Google Colab Binder Jupyter ;
default_badgesâ GitHub, Google Colab Binder Jupyter . , ,default_badgestruefalse. , Binder,default_badges:
default_badges: github: true binder: false colab: true
urlâ , ;
baseurlâ . /_config.yml ("Special Instructions for baseurl"). , ;
twitter_usernameâ Twitter;
use_mathâtrue,LaTeX;
show_descriptionâ .true;
google_analyticsâ Google Analytics;
paginationâ , . 15. , , :

show_tagsâ , :

show_imageâtrue. ( 2 ):

.ipynb fastpages
- ( :
.ipynb,.md.docx) (./_notebooks,./_posts./_word).2020-05-26-DS-fastpages-blog.ipynb. Jekyll ( ).
:
-
YYYY-MM-DD-; - , , .
-
- commit push GitHub
master. - GitHub . ~5 . «Actions» GitHub. workflow,
pushmaster:
- Check Configurations â (, ), ;
- CI â ;
- GH Pages Status â .
, .
- , , . .
,fastpages.
, , . , , , fastpages.
Jupyter ( Markdown ) , / .
# "Title"
> "Awesome summary"
- toc: true
- branch: master
- badges: true
- comments: true
- author: Hamel Husain & Jeremy Howard
- categories: [fastpages, jupyter]
Markdown , , .. ---.
:
---
title: "Title"
description: "Awesome description"
toc: true
layout: post
categories: [markdown]
---
, , YAML . , : - title: "Deep learning: A tutorial"
YAML.
( ):
tocâtrue, Markdown ;badges[notebooks only] âtrueGoogle Colab,BinderGitHub, ;hide_github_badge[notebooks only] âtrueGitHub;hide_colab_badge[notebooks only] âtrueGoogle Colab;hide_binder_badge[notebooks only] âtrueBinder;branch[notebooks only] â Jupyter Colab GitHub. :master;commentsâtrue( );authorâtrue;categoriesâ ( "Tags").imageâ , . (Twitter) :
- â
images/figure.png; -
/images;
- â
search_excludeâ (Search), , ;hideâtrue, :
- permalinks ;
-
search_excludetrue, (Search);
sticky_rankâ , . , .
/ . ( ), , .
, Jupyter . , .
#hideâ , ;#hide_inputâ ;#collapse-hideâ , , ;#collapse-showâ , .
Altair
Altair . . .

Jupyter .

:

:

, , ( ), ( ).
.

Youtube
Youtube :
> youtube: https://youtu.be/L0boq3zqazI
Twitter.
,
> twitter: https://twitter.com/jakevdp/status/1204765621767901185?s=20
:

LaTeX
Jupyter LaTeX . , , use_math _config.yml (. ).
LaTeX :
> $$L(\theta) = \frac{1}{N} \sum_i^N{(y_i - \hat{y_i})^2} \rightarrow \min_{\theta}$$
:
.
: > Warning: There will be no second warning!
: > Important: Pay attention! It's important.
: > Tip: This is my tip.
: > Note: Take note of this.

, .
,
> Note: A doc link to [an example website: fast.ai](https://www.fast.ai/) should also work fine.
:

Emoji
:robot:.
:
:robot:.
Emoji.
jupyter , Markdown . , :
{% raw %}For example, here is a footnote {% fn 1 %}.
And another {% fn 2 %}
{{ 'This is the footnote.' | fndetail: 1 }}
{{ 'This is the other footnote. You can even have a [link](https://fastpages.fast.ai/jupyter/2020/02/20/test.html#Footnotes)' | fndetail: 2 }}{% endraw %}

fastpages
fastpages nbdev jupyter , word .md . , /_notebooks, /_word /_posts, GitHub Actions c nbdev , .
fast_template â fastpages
, fast.ai fast_template, , Word Jupyter , . fastpages , , .
, fast_template , . - Github, git.
- ;
- Jupyter + :
- ;
- / ;
- GIF-;
- youtube .
- Medium;
- url;
-
badgesGitHub,Binder,Google Colab, ; - ;
-
sticky_rank, ; - ;
- , :
- permalinks;
- ;
- , , (, ) , - .
- WYSIWYG (What You See Is What You Get):
Jekyll;- ;
-
Jekyll, . Jekyllgit;- Jupyter ;
- , spell checker Jupyter .
fast.ai DS , , .
, git, Markdown Jupyter Notebook. , .
, , , . pull request , .
, .
DS/ML/AI
-
fastpagesby Scott H. Hawley; - ;
- Andrej Karpathy github.io, medium;
- Machine Learning Mastery by Jason Brownlee;
- Fast.ai + fastpages blog;
- Airbnb;
- Uber;
- OpenAI;
- DeepMind;
- Nvidia + AI podcast;
- Microsoft AI blog + ML devblogs
-
fastpages; - Introducing fastpages;
- ,
.ipynb; -
fast_template+ fast.ai; - Projekt - Homepage
nbdev+ Repository + Forum ; - Ein ziemlich breiter Ăberblick ĂŒber Blog-Engines;
- Weitere Blogs [ 1 , 2 ];