Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1587

Update "ref" syntax for modern Hugo

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.6.2
    • Affects Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      The "make hugo" target works with hugo 0.26 but not with more recent ones: since 0.37 if not before, hugo errors:

      ERROR 2018/05/31 13:52:26 error processing shortcode "_internal/shortcodes/ref.html" for page "index.md": template: _internal/shortcodes/ref.html:1:73: executing "_internal/shortcodes/ref.html" at <ref .Page (.Get 0)>: error calling ref: No page found with path or logical name "mongocxx-v3/tutorial.md".
      
      ... five more errors like this ...
      

      It seems that the "ref" syntax is no longer compatible with modern Hugo, figure out how to update it.

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: