aboutsummaryrefslogtreecommitdiffhomepage
path: root/navigation
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-12-30 09:20:58 +0100
committerBjørn Erik Pedersen <[email protected]>2023-01-04 18:01:26 +0100
commite402d91ee199afcace8ae75da6c3587bb8089ace (patch)
treea0f51de9707ed03aa1a3d7a9195fd9d0fceab108 /navigation
parent3c51625c7152abca7e035fae15fc6807ca21cc86 (diff)
downloadhugo-e402d91ee199afcace8ae75da6c3587bb8089ace.tar.gz
hugo-e402d91ee199afcace8ae75da6c3587bb8089ace.zip
Misc doc, code refactoring to improve documentation
Diffstat (limited to 'navigation')
-rw-r--r--navigation/menu.go3
-rw-r--r--navigation/menu_cache.go2
2 files changed, 3 insertions, 2 deletions
diff --git a/navigation/menu.go b/navigation/menu.go
index 5e4996f39..cb280823c 100644
--- a/navigation/menu.go
+++ b/navigation/menu.go
@@ -1,4 +1,4 @@
-// Copyright 2019 The Hugo Authors. All rights reserved.
+// Copyright 2023 The Hugo Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// Package navigation provides the menu functionality.
package navigation
import (
diff --git a/navigation/menu_cache.go b/navigation/menu_cache.go
index 6a3266431..4287ed875 100644
--- a/navigation/menu_cache.go
+++ b/navigation/menu_cache.go
@@ -10,7 +10,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-//
+
package navigation
import (