[CXX-1587] Update "ref" syntax for modern Hugo Created: 31/May/18  Updated: 28/Oct/23  Resolved: 30/Sep/20

Status: Closed
Project: C++ Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.6.2

Type: Bug Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CXX-1898 Separate installation instructions in... Closed

 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.



 Comments   
Comment by Githook User [ 30/Sep/20 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CXX-1587 update site generation for modern hugo
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/fc072e29bd7cb26aaff2ecea0d39d0a7da621c7e

Generated at Wed Feb 07 22:03:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.