fastai / fastpages Goto Github PK
View Code? Open in Web Editor NEWAn easy to use blogging platform, with enhanced support for Jupyter Notebooks.
Home Page: https://fastpages.fast.ai/
License: Apache License 2.0
An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
Home Page: https://fastpages.fast.ai/
License: Apache License 2.0
_notebook
which has 791 KB capacity. It failed to show up in the blog page. Am I missing something here are there any limit to notebook capacity?I see that it has skipped because of future date, I have put the naming convention as per my local time IST. I guess the github action might be running in different time zone than mine. Any resolution for this ?
Skipping: _posts/2020-02-27-Diagram-as-Code.md has a future date
Reference log
https://github.com/byteshiva/blog/runs/470708733?check_suite_focus=true
[]
or |
in the text.When I preview the markdown file in Sublime, its syntax highlighting is smart enough to parse the hyperlinks but I assume fastpages renderer has a problem—the | gets interpreted as tables and the [] interfere with the [] from the hyperlink syntax.
Expected behaviour would be that tags are matched.
See #66
Copy and pasting comment by @drscotthawley:
I found a tricky interaction between nbdev & the fastpages build.
nbdev is replacing "<img src=" HTML code with Liquid "{% img src" tags.
This might not be a problem ordinarily, but when running with Liquid in fastpages, it can't handle long "src" strings.
So here's a question for both @sgugger and @hamelsmu:
Would it be better to NOT have nbdev translate the HTML "img src" tags into Liquid, or would it be better to provide fastpage's Liquid run with...whatever it needs to handle long src strings?
The original HTML code in question:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACXCAYAAAC2qd/4AAAF4nRFWHRteGZpbGUAJTNDbXhmaWxlJTIwaG9zdCUzRCUyMnd3dy5kcmF3LmlvJTIyJTIwbW9kaWZpZWQlM0QlMjIyMDE5LTEyLTIwVDIxJTNBMjQlM0ExMS45MjRaJTIyJTIwYWdlbnQlM0QlMjJNb3ppbGxhJTJGNS4wJTIwKE1hY2ludG9zaCUzQiUyMEludGVsJTIwTWFjJTIwT1MlMjBYJTIwMTBfMTVfMCklMjBBcHBsZVdlYktpdCUyRjUzNy4zNiUyMChLSFRNTCUyQyUyMGxpa2UlMjBHZWNrbyklMjBDaHJvbWUlMkY3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UBCiaqC3A/hNHgKJJnMk44KgJUDRRW4D9J44ARZM4k3HAUROgaKK2APtPHAGKJnEm44CjJkDRRG0B9p84AhRN4kzGAUdNgKKJ2gLsP3EEKJrEmYwDjpoARRO1Bdh/4gj8H0PO0sVrUy0IAAAAAElFTkSuQmCC" style="cursor:pointer;max-width:100%;" onclick="(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('https://www.draw.io/?client=1&lightbox=1&edit=_blank');}})(this);"/>
This is getting converted by nbdev to
{% include image.html style="cursor:pointer;max-width:100%;" onclick="(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('<a href="https://www.draw.io/?client=1&lightbox=1&edit=_blank');}})(this">https://www.draw.io/?client=1&lightbox=1&edit=_blank');}})(this</a>);" file="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACXCAYAAAC2qd/4AAAF4nRFWHRteGZpbGUAJTNDbXhmaWxlJTIwaG9zdCUzRCUyMnd3dy5kcmF3LmlvJTIyJTIwbW9kaWZpZWQlM0QlMjIyMDE5LTEyLTIwVDIxJTNBMjQlM0ExMS45MjRaJTIyJTIwYWdlbnQlM0QlMjJNb3ppbGxhJTJGNS4wJTIwKE1hY2ludG9zaCUzQiUyMEludGVsJTIwTWFjJTIwT1MlMjBYJTIwMTBfMTVfMCklMjBBcHBsZVdlYktpdCUyRjUzNy4zNiUyMChLSFRNTCUyQyUyMGxpa2UlMjBHZWNrbyklMjBDaHJvbWUlMkY3OS4wLjM5NDUuODglMjBTYWZhcmklMkY1MzcuMzYlMjIlMjBldGFnJTN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tPHAGKJnEm44CjJkDRRG0B9p84AhRN4kzGAUdNgKKJ2gLsP3EEKJrEmYwDjpoARRO1Bdh/4gj8H0PO0sVrUy0IAAAAAElFTkSuQmCC" %}
Custom domain setting disappeared when Jeremy added the custom domain https://fastpages.fast.ai/
I will try to reproduce this behavior ( somehow ) to see if I can debug
cc: @jph00
Many people split their blog post into multiple parts as a series of tutorials or as an ongoing subject/topic. It would be nice to have fastpages
automatically handle organizing series by grouping them together, linking previous parts to future parts, etc.
My initial thoughts are that this would not be too hard. The front matter
markdown could just have another field called "series" where you place the name of the series like so:
# "Title
...
- series: Working with NLP
This series could then be treated as a special tag for blog posts where when a new post gets added with the identical series name, that new blog post is treated as the next part in the series and the previous posts will get updated with links to it. Using the series as special tags also has the benefit of easily searching for all of the parts associated with a topic.
Let me know what you think and thanks for the awesome repo!
If readers want to subscribe, create an optional subscribe form. This one requires a bit more reseach as I think we can use Mailchimp but ideally i want a fully automated solution
Not sure these are things that ar relevant for fastpages
but I'm going to leave this open for a bit and think about if there is anything we can do in this regard
Feedback from @dansbecker:
The big caveats would be around runtime environment. I like how someone can run a notebook from this platform on colab, but it's unclear whether I can ensure they have the same runtime environment I had. And debugging environment differences sounds annoying.
Is there a way to upload a notebook, call a github action to re-run the notebook using a requirements.txt I provide, and then publish the result of that?
In addition to being a path towards a shared environment, it'd also address the problems with notebook statefulness.
@jph00 can you think of a nice workflow where people should upgrade? Is git merge/fix conflicts the best route, you think?
Also do you think it is possible to create fully interactive notebooks (not just Altair), perhaps using something like Binder or nbinteract ?
Other ideas people have told me about
Clean up fonts, per comments in #27
The v3 of peaceiris/actions-gh-pages has been released.
This action migrated to a TypeScript Action from a Docker Action and v3 is faster than v2.
If you have any questions about v3, let me know.
I realize fastpages currently is only designed to work with Altair. Altair doesn't support 3D graphs, but plot.ly does. One of my notebooks uses plot.ly for interactive 3D graphs.
With a one-line change to nbdev (https://github.com/drscotthawley/nbdev/blob/master/nbdev/export2html.py), the embedded plot.ly 3D interactive graphs work fine, and the resulting html from nbdev/export2html shows these plots great. (Example HTML output of notebook from nbdev/export2html: https://hedges.belmont.edu/~shawley/2019-12-21-PCA-From-Scratch.html)
The problem is that further down in the fastpages build, the 'Rendering Liquid' step tries to treat some of the double-curly-brace javascript generated for plot.ly as if it were Liquid tags:
Rendering Liquid: _posts/2019-12-21-PCA-From-Scratch.md
Liquid Exception: Liquid syntax error (line 113): Variable '{{ x.observe(notebookContainer, {childList: true}' was not properly terminated with regexp: /\}\}/ in /github/workspace/_posts/2019-12-21-PCA-From-Scratch.md
The javascript code it's complaining about looks like this:
if (notebookContainer) {{
x.observe(notebookContainer, {childList: true});
}}
I have no experience with Liquid, at all. My old Jekyll/Pages blog doesn't use it, so there was no conflict. But FastPages does use it. Is there any way to 'tell Liquid' to leave the plot.ly javascript alone and not try to interpret it as a tag? (I've googled around trying to solve this, but so far, no dice.)
Or perhaps there's a way to disable Liquid for certain files but not for the whole fastpages blog?
Run log: https://github.com/drscotthawley/devblog2/runs/451929186?
#28 Please include the following information
I get these error for
docker-compose down || true;
Removing fastpages_converter_1 ... done
Removing fastpages_fastpages_1 ... done
Removing fastpages_watcher_1 ... done
Removing fastpages_jekyll_1 ... done
Removing fastpages_jupyter_1 ... done
Removing network fastpages_default
docker-compose up
Creating network "fastpages_default" with the default driver
Creating fastpages_jekyll_1 ... done
Creating fastpages_watcher_1 ... done
Creating fastpages_jupyter_1 ... done
Creating fastpages_converter_1 ... done
Creating fastpages_fastpages_1 ... done
Attaching to fastpages_converter_1, fastpages_jupyter_1, fastpages_watcher_1, fastpages_fastpages_1, fastpages_jekyll_1
converter_1 | standard_init_linux.go:211: exec user process caused "no such file or directory"
fastpages_1 | standard_init_linux.go:211: exec user process caused "no such file or directory"
Then I find out that multiple links are link to /fastpages/...
Which caused the problem as this does not match my directory.
My current solution is to
I think it's pretty standard by now to have "tweet this post" kind of buttons... we should add them too
https://blog.webjeda.com/jekyll-snippets/
It would be good if the reading time could be made next to the date in the way Medium does
Which requires editing the _layout/post.html
file. I would recommend encapulating the reading time in a _layouts
file and including it in _layout/post.html
...the current color scheme renders most variable names and libraries in white text, on a background that is very light-colored. The result is unreadable. Example: see "More code" in https://drscotthawley.github.io/devblog3/2020/02/20/sample-markdown-post.html.
It's the same highlighting scheme (Dracula) used for the notebooks, but for the notebooks the background is dark, so it's not a problem.
Can someone suggest how to either enforce a darker background for markdown posts, or suggest a different highlighting scheme (and how to install it) that will render well for both notebooks and markdown posts?
An easy to use blogging platform with support for Jupyter Notebooks.
In _config.yml, if you make the one-line change,
#theme: minima
theme: jekyll-theme-cayman
...the blog builds but is reduced to nothing (...almost nothing. in my case one image remains, nothing else).
At some point, it would be awesome to have a FAQ topic on changing the theme to another one of the supported GitHub Pages Jekyll themes! I realize that's probably a low priority.
Per #58 (comment)
My notebook post (https://github.com/drscotthawley/devblog2/blob/master/_notebooks/2019-12-21-PCA-From-Scratch.ipynb) contains the line
![splash pic i made](https://i.imgur.com/vKiH8As.png)
(This is using an external image URL because originally this was a Colab notebook.)
This is apparently causing an error in the build phase called "convert notebooks and word docs to posts", which fails with
[Errno 2] No such file or directory: '/github/workspace/_notebooks/https:/i.imgur.com/vKiH8As.png'
This may be more appropriate to file as an nbdev issue, such as in nbdev's copy_images(), but I can't see from the docker run
command before the error what the calling sequence really is, so for now, this Issue is going here.
I want to show you the log from this build action, but for some reason I'm only able to copy & past the last screen of output
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4.0->nbdev) (0.15.7)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema!=2.5.0,>=2.4->nbformat>=4.4.0->nbdev) (2.2.0)
Building wheels for collected packages: pyyaml
Building wheel for pyyaml (setup.py): started
Building wheel for pyyaml (setup.py): finished with status 'done'
Created wheel for pyyaml: filename=PyYAML-5.3-cp37-cp37m-linux_x86_64.whl size=44228 sha256=2849b70c15d9a6287c040494aacf5fce4dbc78c0f012589fdbaaaf42a88be977
Stored in directory: /root/.cache/pip/wheels/8a/55/a4/c0a81d27c33462cfdcb904db018f5550197e88b2b6b85beed2
Successfully built pyyaml
Installing collected packages: pyparsing, packaging, pyyaml, fastscript, nbdev
Successfully installed fastscript-0.1.4 nbdev-0.2.11 packaging-20.1 pyparsing-2.4.6 pyyaml-5.3
Removing intermediate container 777fa6e7fb4e
---> 785732a2fae1
Step 9/13 : WORKDIR /fastpages
---> Running in b471877f7bcf
Removing intermediate container b471877f7bcf
---> 7a70164df948
Step 10/13 : COPY . .
---> ae0df79ca46c
Step 11/13 : RUN chmod u+x action_entrypoint.sh
---> Running in 9e435c1efb7b
Removing intermediate container 9e435c1efb7b
---> 1fea6b18ebe0
Step 12/13 : RUN chmod u+x word2post.sh
---> Running in 0aab46f15a33
Removing intermediate container 0aab46f15a33
---> 66431beca583
Step 13/13 : CMD [ "/fastpages/action_entrypoint.sh" ]
---> Running in c3b8d4d4c536
Removing intermediate container c3b8d4d4c536
---> b2f73f74387b
Successfully built b2f73f74387b
Successfully tagged e87b52:3234fc1855fc53ec9dac003860ef10bb
/usr/bin/docker run --name e87b523234fc1855fc53ec9dac003860ef10bb_c377e6 --label e87b52 --workdir /github/workspace --rm -e INPUT_BOOL_SAVE_MARKDOWN -e INPUT_SSH_DEPLOY_KEY -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/devblog2/devblog2":"/github/workspace" e87b52:3234fc1855fc53ec9dac003860ef10bb
Agent pid 7
converting: _notebooks/2019-12-21-PCA-From-Scratch.ipynb
[Errno 2] No such file or directory: '/github/workspace/_notebooks/https:/i.imgur.com/vKiH8As.png'
Traceback (most recent call last):
File "/fastpages/nb2post.py", line 36, in <module>
export2html.notebook2html(fname='_notebooks/*.ipynb', dest='_posts/', template_file='/fastpages/fastpages.tpl')
File "/usr/local/lib/python3.7/site-packages/nbdev/export2html.py", line 426, in notebook2html
raise Exception(msg + '\n'.join([f.name for p,f in zip(passed,files) if not p]))
Exception: Conversion failed on the following:
2019-12-21-PCA-From-Scratch.ipynb
The URL for this run is https://github.com/drscotthawley/devblog2/runs/449901792
Hi all! I'm super excited for this! I'm writing a quick tutorial on how to get started with fastpages
in spanish. As part of that I wanted to start from zero and I created a new github account and used the template to create the blog repo.
However, I cannot seem to change the Source from master
to the gh-pages
branch. The gh-pages
branch is being built and published correctly, I just can't tell GitHub Pages to deploy from that branch instead of master and I get this message:
The repo is paco-el-chato/paco-el-chato.github.io. I didn't have any problems doing this on my personal blog but (I think) that's because it was not deployed at chekos.github.io and it was not a user page.
Does anyone know how I could fix this? or if it's even possible?
Thanks in advance!
Write blog post about how Actions powers fastpages
We need to go through the process of forking this repo and performing all the setup steps from scratch, and ensuring the documentation correctly reflects the proper setup process
I followed the instructions for setting up the deploy key, and secret environment variable, but am receiving a "/root/.ssh/id_rsa": invalid format
error when deploying. Any ideas on what could be causing this?
Deploy1s
and the repository exists.
Run peaceiris/actions-gh-pages@v2
/usr/bin/docker run --name e87b52c1e6a5f69eec4e969af6a4bd60e87b0d_ceeab3 --label e87b52 --workdir /github/workspace --rm -e ACTIONS_DEPLOY_KEY -e PUBLISH_BRANCH -e PUBLISH_DIR -e INPUT_EMPTYCOMMITS -e INPUT_KEEPFILES -e INPUT_FORCEORPHAN -e INPUT_USERNAME -e INPUT_USEREMAIL -e INPUT_COMMITMESSAGE -e INPUT_TAGNAME -e INPUT_TAGMESSAGE -e INPUT_TAGOVERWRITE -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/finetune/finetune":"/github/workspace" e87b52:c1e6a5f69eec4e969af6a4bd60e87b0d
INFO: Deploy to keherri/finetune
INFO: setup with ACTIONS_DEPLOY_KEY
# github.com:22 SSH-2.0-babeld-849b9b5f
Cloning into '/github/home/ghpages_14933'...
Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts.
Load key "/root/.ssh/id_rsa": invalid format
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Hi! I know this template is in active development (I'm so excited for it!) but I already started using it this morning and I could not figure out how to set up the ssh
keys.
This is not a complaint - I'm sure it's easy to figure out if your not as impatient as I am lol
Anyways, I wanted to leave this issue so that others who may have problems too can do what I did if they so want to.
This template is using peaceiris/gh-pages
GitHub Action and perusing the repo I noticed that you can use a personal token instead of ssh
and it works just fine.
I followed the instructions here https://github.com/peaceiris/actions-gh-pages/blob/master/README.md#%EF%B8%8F-personal_token
Thanks for the awesome tool! fastpages
and fast_template
are amazing!
Fastpages provides search features built with lunr.js
, thanks @hamelsmu!
Following up on the initial version, Hamel asked if there's a way to improve it, and provided Just the Docs repo as an example. Here are a few things that would be great to improve:
Just the Docs, interestingly, doesn't build the index on every page, but provides a JSON with the site content that the site front-end can grab when the user say focuses the search field: https://github.com/pmarsceill/just-the-docs/blob/master/assets/js/search-data.json
Here's the Just the Docs version of this, it's pretty sophisticated. We don't need it to be that fancy, but we want each search result to have the matched post title, and the paragraph (or part) with the matched words highlighted, rendered in the search results. If something in the code block got matched — than the corresponding code block, or it's reasonable part (indent-based?) should be rendered.
Bonus points:
What libraries is fastpages using, how do we bundle them up, and should we maybe introduce a minimal JS bundler (parcel?) to manage the front-end deps?
I have followed the instructions from the README.md
,
- Generate a copy of this repo by clicking on this link.
- GitHub Actions will automatically open a PR on your new repository ~ 30 seconds after the copy is created. Follow the instructions in that PR to continue.
but I got the following error during the setup
process.
An easy to use blogging platform with extra features for Jupyter Notebooks.
https://fastpages.fast.ai/fastpages/jupyter/2020/02/21/introducing-fastpages.html
Is your feature request related to a problem? Please describe.
When writing notebook posts locally I'm finding it frustrating that autogenerated .md posts created from notebooks are being mixed in with my manual .md posts. This is also a little confusing with the images copied over from the notebooks into the /images folder. This makes managing commits difficult because some files need to be included while others ignored. It also makes it difficult to clear
the state of your site because you have to delete the autogenerated posts.
Describe the solution you'd like
It would be simple if the project followed a simple rule to never mix autogenerated code into folders that contain manually created files.
Describe alternatives you've considered
When preparing the files for jekyll copy all the files to a new temporary folder rather than an existing folder.
Additional context
None
I found that GitHub provides a repo with disk quota of 1GB
.
Blogging sometimes requires a lot or disk spaces because of the long history (even people keep media files including images in a cloud). Also, some people want to keep media files in the repo as well.
There could be some solutions like..
/images
folder, fastpages
automatically uploads them to the Google Drive. Of course the link should be generated and replace the local reference from the blog post.2020
and the other repo is for 2021
, then create links for each to switch back and forth.This seems out of the scope for this project. I just wanted to hear what other people think about my idea.
Thank you
I haven't tested if pagination is working (when you have more than N posts and want previous
and next
butttons) .
Here is an article that may help . https://blog.webjeda.com/jekyll-pagination/
Hey team!
This looks amazing!
I was reading about fast_template yesterday and got the starter blog going.
Now I’ve seen this amazingness and I’m wondering what the difference is?
From what I’ve gathered so far, fastpages (here) incorporates nbdev natively?
A big thank you for all the hard wok.
This is a running list of feature requests, we don't necessarily know if we will work on these but making notes in a consolidated place
Add an option to enable using custom filenames without forcing the addition of the date as prefix. This can be useful for other static website generators.
Initially the option can be added as following:
inputs:
...
BOOL_FORCE_DATE:
description: Either 'true' or 'false'. Whether or not to force the date prefix for the markdown generated files from the notebooks.
required: false
default: true
Would be nice to have an ever-growing how-to section added to the repo. I'm familiar with jekyll but strugging to, for example, find out how to change the header of the page so I can replace my domain name with an image.
Other examples may include:
As per the email generated when I cloned the fastpages repo I set up the SSH public and private keys
I set the cloned github repo to point to my custom domain
I copied the following over from the old repo
Issue:
The index and about pages render correctly and the example .md post in the _posts directory
But the other posts from the _word directory do not
Main page renders like this
I checked the CI/build site log and it reports a deploy error
ERROR: not found ACTIONS_DEPLOY_KEY, PERSONAL_TOKEN, or GITHUB_TOKEN
I grepped the source files but I'm not sure what I'm missing
Per https://forums.fast.ai/t/fastpages-github-pages-blog-using-nbdev/62828/38
Currently there are a lot of steps necessary to set up a new blog that need to be manually completed.
It would be great if some or all of them could be automated. e.g. perhaps there could be a little python script or something in the repo root that, after you generate from the template and clone, you could run the script, it would ask you a few questions, and then complete the remaining steps for you. I haven't checked whether all the steps are available thru APIs or not.
Locally embedded images should work for Jupyter
Example:
# Chart From Local
![title](./chart.png)
The tag twitter on line 73 in _posts/2020-01-14-welcome.md is not a recognized Liquid tag.
Getting this error, getting other errors after removing line 73, mostly twitter not working
Add an option to consider all notebooks that are not necessarily in the _notebooks
. This can be useful for static generators other than Jekyll.
The option can be add initially as following:
inputs:
...
BOOL_FREE_STRUCTURE:
description: Either 'true' or 'false'. Whether or not to consider all notebooks which are not necessarily located in _notebooks dir to be converted. If set to 'true' the generated markdown files will be located in the same source directory. This is useful for static website generators other than Jekyll.
required: false
default: false
feedback from @dansbecker
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.