mirror of
https://github.com/nushell/nushell.git
synced 2025-05-06 07:52:57 +00:00
Reminder comment to update doc when adding $nu
constants (#15481)
# Description As requested in review on https://github.com/nushell/nushell.github.io/pull/1860 - This adds a reminder comment requesting that contributors update that doc page when adding new constants. # User-Facing Changes None # Tests + Formatting Comment-only # After Submitting This PR should only be merged after https://github.com/nushell/nushell.github.io/pull/1860 is merged into the doc.
This commit is contained in:
parent
41f4d0dcbc
commit
e82df7c1c9
@ -17,6 +17,8 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
/// Create a Value for `$nu`.
|
/// Create a Value for `$nu`.
|
||||||
|
// Note: When adding new constants to $nu, please update the doc at https://nushell.sh/book/special_variables.html
|
||||||
|
// or at least add a TODO/reminder issue in nushell.github.io so we don't lose track of it.
|
||||||
pub(crate) fn create_nu_constant(engine_state: &EngineState, span: Span) -> Value {
|
pub(crate) fn create_nu_constant(engine_state: &EngineState, span: Span) -> Value {
|
||||||
fn canonicalize_path(engine_state: &EngineState, path: &Path) -> PathBuf {
|
fn canonicalize_path(engine_state: &EngineState, path: &Path) -> PathBuf {
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user