docs(build-id): add code block example (#3600)
Adds a module doc and code block to help satisfy JSR's scoring. Suggestions for alternatives or improvements very welcome. Part of #3597
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
/**
|
||||
* Don't use this package directly. It's considered internal for Fresh.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* // `BUILD_ID` is based on the `DENO_DEPLOYMENT_ID` environment variable.
|
||||
* ```
|
||||
*
|
||||
* @see https://fresh.deno.dev/docs/deployment/docker
|
||||
*
|
||||
* @module
|
||||
* @private
|
||||
*/
|
||||
|
||||
import { encodeHex } from "@std/encoding/hex";
|
||||
|
||||
export const DENO_DEPLOYMENT_ID: string | undefined = Deno.env.get(
|
||||
|
||||
Reference in New Issue
Block a user