Comments (2)
Tested again on MacOS, I noticed that the site-srcs
directory was mode 555 rather than 755 (site-build
), which means this directory was not writable.
[bin]$ pwd
path/to/bazel-blog/bazel-out/darwin-fastbuild/bin
[bin]$ ll -lh
total 50M
drwxr-xr-x 3 story wheel 96 11 15 14:13 _sass
-r-xr-xr-x 1 story wheel 444 11 15 14:13 bootstrap-css.args
-r-xr-xr-x 1 story wheel 700K 11 15 14:13 bootstrap-css.tar
-r-xr-xr-x 1 story wheel 701 11 15 14:13 bootstrap-images.args
-r-xr-xr-x 1 story wheel 220K 11 15 14:13 bootstrap-images.tar
-r-xr-xr-x 1 story wheel 285 11 15 14:13 bootstrap-js.args
-r-xr-xr-x 1 story wheel 110K 11 15 14:13 bootstrap-js.tar
-r-xr-xr-x 1 story wheel 301 11 15 14:13 font-awesome-css.args
-r-xr-xr-x 1 story wheel 70K 11 15 14:13 font-awesome-css.tar
-r-xr-xr-x 1 story wheel 627 11 15 14:13 font-awesome-font.args
-r-xr-xr-x 1 story wheel 760K 11 15 14:13 font-awesome-font.tar
-r-xr-xr-x 1 story wheel 15K 11 15 14:13 jekyll-files.args
-r-xr-xr-x 1 story wheel 24M 11 15 14:13 jekyll-files.tar
-r-xr-xr-x 1 story wheel 463 11 15 14:13 jekyll-tree.args
-r-xr-xr-x 1 story wheel 25M 11 15 14:13 jekyll-tree.tar
-r-xr-xr-x 1 story wheel 1.2K 11 15 14:13 site
drwxr-xr-x 2 story wheel 64 11 15 14:28 site-build
dr-xr-xr-x 17 story wheel 544 11 15 14:13 site-srcs
drwxr-xr-x 4 story wheel 128 11 15 14:13 site.runfiles
-r-xr-xr-x 1 story wheel 463 11 15 14:13 site.runfiles_manifest
from bazel-blog.
This issue is caused by Jekyll versions. Maybe Jekyll < 4 is OK while I used 4.1.1 throughout my experiment.
Modified scripts/jekyll.bzl
to run jekyll build
with an extra --disable-disk-cache
option, and it seems OK to bazel build //:site
.
However, bazel run //:site
still failed complaining about redcarpet
:
$ jekyll build --disable-disk-cache -q -s bazel-out/darwin-fastbuild/bin/site-srcs -d bazel-out/darwin-fastbuild/bin/site-build --trace
Markdown processor: "redcarpet" is not a valid Markdown processor.
Available processors are: kramdown
See jekyll/jekyll#7838 (comment)
After downgrading Jekyll to 3.9.0 and gem installed redcarpet
and pygments.rb
, everything seems to be OK.
from bazel-blog.
Related Issues (20)
- 0.25 blog post on website has incorrectly handled underscores
- Search does not work when initiated from blog
- Bazel homebrew post outdated
- 0.28 release page has 'dead' link for '--auto_output_filter'
- Update protobuf blog post HOT 1
- RE-API Test Suite Blog HOT 2
- Write a blog post about GSoC HOT 3
- On mobile: navigation menu does not appear on index page HOT 2
- Make sure we see have a process in place to monitor incoming Pull Requests on this repo HOT 6
- Bazelize plugin blog post HOT 5
- Rename 'master' branch to 'main'
- Links to Bazel documentation stopped working in blog posts HOT 2
- We don't use standard markdown, which makes github preview useless
- RSS feed returns invalid xml HOT 1
- Unable to subscribe to blog
- Protocol buffer blog post has unescaped underscores.
- broken recommendation re: well known protos in 2017/02/27/protocol-buffers.html HOT 2
- Support Twitter Cards
- Post comments aren't showing up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-blog.