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

Update "ref" syntax for modern Hugo

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: