Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-webui
Commits
c2433355
Verified
Commit
c2433355
authored
3 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
DOC MAINT: Whitespace cleanup in documentation.
parent
99f7674e
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!69
MAINT: Rename default person reference resolver
Pipeline
#21045
passed
3 years ago
Stage: linting
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/extension/references.rst
+5
-5
5 additions, 5 deletions
src/doc/extension/references.rst
with
5 additions
and
5 deletions
src/doc/extension/references.rst
+
5
−
5
View file @
c2433355
...
@@ -23,11 +23,11 @@ the basic structure of the module should look like
...
@@ -23,11 +23,11 @@ the basic structure of the module should look like
// Has to be called ``resolve`` and has to take exactly one
// Has to be called ``resolve`` and has to take exactly one
// string parameter: the id of the referenced entity.
// string parameter: the id of the referenced entity.
this.resolve = async function (id) {
this.resolve = async function (id) {
/*
/*
* find the string that the reference should be resolved to,
* find the string that the reference should be resolved to,
* e.g., from the value of the entity's properties.
* e.g., from the value of the entity's properties.
*/
*/
return {"text": new_reference_text}
return {"text": new_reference_text}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment