Each blog on coding.blog
consists of two parts:
The domain is the URL through which your blog is accessible to the world, and the repo should be a CODEDOC project including markdown files for your blog posts, alongside CODEDOC configuration dictating how your blog should look like.
You can access request a blog on coding.blog
by joining the prospective creators list:
You can access request a blog on coding.blog
by joining the prospective creators list:
Your blog repo MUST be openly accessible, as that is how our build servers can fetch and build it. It also MUST be a CODEDOC project. If you have not setup such a repo, the best place to start would be using this template.
Regardless of whether you use the template or not, it is HIGHLY RECOMMENDED to use
@codedoc/coding-blog-plugin
, as it
provides necessary features for blogging on top of CODEDOC, and allows for easily configuring
your coding.blog
as well.
After you have setup your repo, you can simply bind it to your domain via your blog management page. For binding your repo to your domain, you MUST enter the GIT URL for your repo, i.e. the URL using which our build servers can clone your repo and build it.
Valid repo URLs:
1link$https://github.com/johndoe/my-blog.git
2link$https://my-own.server/my-blog.git
Typically repo URLs end with .git
. Your repo might be available on a URL that does not end with .git
, however
that is pretty rare. In any case, be sure that you have entered the proper URL (we will try to clone it
in order to build and publish your repo, so we should be able to clone it).
After you have your repo set up and bound to your domain, you can simply publish it using the publish button on your blog management page. You can also use the provided publish webhook to automatically publish your blog, for example when you push to your blog repository.
Each time you request publish, the following process will be started:
Our build servers will clone the master branch of your repo ().
CODEDOC dependencies will be installed.
CODEDOC will build the project, generating static files.
Generated files, alongside specified assets, will be put on our CDNs.
The newest version of your blog is now accessible on ,
and you will be notified via email.
Errors typically occur as one of the publishing steps cannot be completed. Here are a rundown of common errors, their typical causes, and simple solutions for each such error:
.codedoc/package.json
..codedoc/package.json
can be actually installed.codedoc serve
and codedoc build
.