rock-core / rock-core.github.io

Organisation Website for Rock Core
https://rock-robotics.org
0 stars 4 forks source link

possible syntax error in some md files #10

Closed vbargsten closed 5 years ago

vbargsten commented 5 years ago

Some md files show up incorrectly, e.g. https://www.rock-robotics.org/documentation/orogen/triggering/index.html . It seems, the name:content in the header of the source file is a problem, also breaking the link to the menu.

Potentially affected files:

$ grep -rin --color 'name:content' documentation
documentation/autoproj/advanced/cross_set_dependencies.md:6:--- name:content
documentation/autoproj/advanced/importers.md:6:--- name:content
documentation/autoproj/advanced/manifest-xml.md:6:--- name:content
documentation/autoproj/advanced/osdeps.md:6:--- name:content
documentation/autoproj/advanced/package_dependencies.md:6:--- name:content
documentation/default.template:1:--- name:content pipeline:blocks
documentation/orogen/cross_project.md:5:--- name:content pipeline:tags,markdown,blocks
documentation/orogen/opaque_types.md:5:--- name:content pipeline:tags,markdown,blocks
documentation/orogen/plugins.md:5:--- name:content pipeline:tags,markdown,blocks
documentation/orogen/transports/index.md:5:--- name:content
documentation/orogen/triggering/fd.md:5:--- name:content
documentation/orogen/triggering/index.md:5:--- name:content
documentation/orogen/triggering/periodic.md:5:--- name:content
documentation/orogen/triggering/ports.md:5:--- name:content
documentation/orogen/type_definitions.md:5:--- name:content pipeline:tags,markdown,blocks
documentation/runtime/quickstart.md:5:--- name:content pipeline:tags,markdown,blocks
documentation/runtime/setup.md:5:--- name:content pipeline:tags,markdown,blocks

Would fix it, but I don't get Jekyll running following the steps in the readme....

jekyll serve -c _config.yml                         
Configuration file: _config.yml
            Source: /home/vbargsten/rock_compi/rock-core.github.io
       Destination: /home/vbargsten/rock_compi/rock-core.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2019-04-02-website-migrated-to-jekyll.md':
                    undefined method `include?' for nil:NilClass
jekyll 3.8.6 | Error:  undefined method `include?' for nil:NilClass
2maz commented 5 years ago

For the moment, locally remove the content in _posts to build

2maz commented 5 years ago

Fixed on master

2maz commented 5 years ago

Thx for reporting