Edison  Stark

Edison Stark

1603908900

How to Publish a Book with GitBook CLI and GitHub Pages in 7 Minutes

Publishing a book or documentation online has never been easier than it is today.

Many services offer you incredible possibilities for publishing beautiful docs with custom domains. The only caveat is that often you need to pay for full features and probably need to use some web-based Markdown editor, which may complicate your life, rather than make it simpler.

The good news is that you don’t need to pay anything to publish visually appealing documentation online. You don’t even need to change your favorite Markdown editor or have a custom domain. All you need is a GitHub account, a text editor of your choice, and a command prompt. In this post, I will show you how to publish your book or documentation on GitHub Pages in less than ten minutes.

Getting Gitbook CLI

Gitbook is an open-source project that helps thousands of developers, researchers, and journalists build beautiful documentation that support sections, nesting, code rendering, as well as multiple formats.

While the main efforts of Gitbook developers are now focused on the Gitbook.com platform (which is not completely free), the legacy tool called

gitbook-cliis still around and can be used to build static HTML files to render in a browser.

To install the tool, you need

npm, so make sure that you install Node.js (npmwill install together) if you haven’t done so in the past.

Install

gitbook-cli.

#documentation #github-pages #gitbook #digital-publishing #gitlab #github #self-publishing #hackernoon-top-story

What is GEEK

Buddha Community

How to Publish a Book with GitBook CLI and GitHub Pages in 7 Minutes
Edison  Stark

Edison Stark

1603908900

How to Publish a Book with GitBook CLI and GitHub Pages in 7 Minutes

Publishing a book or documentation online has never been easier than it is today.

Many services offer you incredible possibilities for publishing beautiful docs with custom domains. The only caveat is that often you need to pay for full features and probably need to use some web-based Markdown editor, which may complicate your life, rather than make it simpler.

The good news is that you don’t need to pay anything to publish visually appealing documentation online. You don’t even need to change your favorite Markdown editor or have a custom domain. All you need is a GitHub account, a text editor of your choice, and a command prompt. In this post, I will show you how to publish your book or documentation on GitHub Pages in less than ten minutes.

Getting Gitbook CLI

Gitbook is an open-source project that helps thousands of developers, researchers, and journalists build beautiful documentation that support sections, nesting, code rendering, as well as multiple formats.

While the main efforts of Gitbook developers are now focused on the Gitbook.com platform (which is not completely free), the legacy tool called

gitbook-cliis still around and can be used to build static HTML files to render in a browser.

To install the tool, you need

npm, so make sure that you install Node.js (npmwill install together) if you haven’t done so in the past.

Install

gitbook-cli.

#documentation #github-pages #gitbook #digital-publishing #gitlab #github #self-publishing #hackernoon-top-story

A Simple Guide to Github Page Deployment

Long story short: Jekyll is a template engine changing

markdowndocuments on staticHTMLwebpages, that you can then host anywyere, because you don’t need databases or server that has PHP or Python.

Usual Process

Normally the process of adding new post looks like this:

  • I write markdown document with setting parameters like title, date and tags
  • when I’m happy with what I wrote (never), I commit changes and push it to repository on GitHub. Repository name comes from my nick and is also address for blog asvid.github.io
  • Github after pushing to branch master builds website from sources using Jekyll - probably something like running jekyll build
  • result of Jekyll build is not present in a repository, but you see it right now after visiting bloga page

#github-pages #github-page-with-jekyll #jekyll #github-actions #github #deployment #continuous-deployment #web-development

Mireille  Von

Mireille Von

1625781780

Let's try Github CLI | Productivity | Tech Primers

This video covers the usage of command line interface v1.0.0 by Github

⏱ Chapter Timestamps:

0:00 - Introduction
0:40 - Installation of Github CLI
1:54 - Create new repository with gh
2:09 - Github auth login
7:37 - Create new Issue with gh
10:03 - Create new PR with gh
11:56 - Merge PR with gh

📌 Links

🔗 Github Link for example: https://github.com/TechPrimers/github-cli-example
🔗 Github CLI: https://cli.github.com/
🔗 Github CLI launched: https://github.blog/2020-09-17-github-cli-1-0-is-now-available/

📌 Related Videos

🔗 Github Package Registry: https://www.youtube.com/watch?v=Nm7m92sZZJA
🔗 Containers Primer: https://www.youtube.com/watch?v=yo2g_CZZWL4&list=PLTyWtrsGknYf_Oee7YOvom5Ev0F3-E2zB
🔗 Kubernetes Primer: https://www.youtube.com/playlist?list=PLTyWtrsGknYfanKF33E12LdJvl5q5PZGp
🔗 How to contribute to OpenSource (Github): https://youtu.be/LvkRaIKX1L8

💥 Join TechPrimers Slack Community: https://bit.ly/JoinTechPrimers
💥 Telegram: https://t.me/TechPrimers
💥 TechPrimer HindSight (Blog): https://medium.com/TechPrimers
💥 Website: http://techprimers.com
💥 Slack Community: https://techprimers.slack.com
💥 Twitter: https://twitter.com/TechPrimers
💥 Facebook: http://fb.me/TechPrimers
💥 GitHub: https://github.com/TechPrimers or https://techprimers.github.io/

🎬Video Editing: FCP


🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#GithubCLI #Productivity #TechPrimers

#github #cli #github cli

Oral  Brekke

Oral Brekke

1617437520

Deploying my portfolio website on Github Pages using Github Actions.

I recently deployed  my portfolio site and wanted to try out github actions and this is my experience of automating the deployment.

This article is more focused on how you can use the GitHub actions and how easy it is to deploy your code to GitHub pages rather than the portfolio site code.So every time you make an update or build to your website ,the changes are automatically reflected and this automated deploying process makes work much faster.

The way GitHub action works is you create actions in your repositories by creating one or more yaml files and these are called workflows.Workflows now can handle build tasks like CI CD. This means you use the action to test your code and push the site to the desired hosting platform (in this case GitHub pages ) when the main branch changes .

First step assuming that you have a GitHub account is to create a repository having your website code in it.Now I have a bootstrap website but in the future I do plan on adding node JS so I already added package.json.

#workflow #portfolio #github #github-actions #github-pages

Edison  Stark

Edison Stark

1603861600

How to Compare Multiple GitHub Projects with Our GitHub Stats tool

If you have project code hosted on GitHub, chances are you might be interested in checking some numbers and stats such as stars, commits and pull requests.

You might also want to compare some similar projects in terms of the above mentioned stats, for whatever reasons that interest you.

We have the right tool for you: the simple and easy-to-use little tool called GitHub Stats.

Let’s dive right in to what we can get out of it.

Getting started

This interactive tool is really easy to use. Follow the three steps below and you’ll get what you want in real-time:

1. Head to the GitHub repo of the tool

2. Enter as many projects as you need to check on

3. Hit the Update button beside each metric

In this article we are going to compare three most popular machine learning projects for you.

#github #tools #github-statistics-react #github-stats-tool #compare-github-projects #github-projects #software-development #programming