Skip to content

Commit b36cc2d

Browse files
authored
Made add-resource always show current year (#13506)
1 parent 39cb30e commit b36cc2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/content/develop/add-resource.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ For more information about types of resources and the generation process overall
5050
1. Using an editor of your choice, in the appropriate [product folder]({{<ref "/#mmv1" >}}), create a file called `RESOURCE_NAME.yaml`. Replace `RESOURCE_NAME` with the name of the API resource you are adding support for. For example, a configuration file for [NatAddress](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.instances.natAddresses) would be called `NatAddress.yaml`.
5151
2. Copy the following template into the new file:
5252
```yaml
53-
# Copyright 2024 Google Inc.
53+
# Copyright {{< now >}} Google Inc.
5454
# Licensed under the Apache License, Version 2.0 (the "License");
5555
# you may not use this file except in compliance with the License.
5656
# You may obtain a copy of the License at

docs/layouts/shortcodes/now.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ time.Now.Year }}

0 commit comments

Comments
 (0)