Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
brittney allen
purr-data
Commits
92905e88
Commit
92905e88
authored
8 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Plain Diff
Merge branch 'aggraef/purr-data-improved-toc'
parents
fde50f6d
09cf5e35
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pd/nw/dialog_search.html
+31
-20
31 additions, 20 deletions
pd/nw/dialog_search.html
with
31 additions
and
20 deletions
pd/nw/dialog_search.html
+
31
−
20
View file @
92905e88
...
@@ -88,7 +88,7 @@ var toc = [
...
@@ -88,7 +88,7 @@ var toc = [
// Pd-L2Ork extras
// Pd-L2Ork extras
{
{
id
:
"
doc/4.data.structures/pd-l2ork/ds-tutorials
"
,
id
:
"
doc/4.data.structures/pd-l2ork/ds-tutorials
"
,
title
:
"
Pd-
l2o
rk Data Structures
"
,
title
:
"
Pd-
L2O
rk Data Structures
"
,
description
:
"
new and improved data structure visualizations
"
description
:
"
new and improved data structure visualizations
"
},
},
// PDDP tutorials
// PDDP tutorials
...
@@ -108,7 +108,7 @@ var toc = [
...
@@ -108,7 +108,7 @@ var toc = [
{
{
id
:
"
doc/manuals/2.Image
"
,
id
:
"
doc/manuals/2.Image
"
,
title
:
"
Image
"
,
title
:
"
Image
"
,
description
:
"
3D graphics with GEM
"
description
:
"
3D graphics with GEM
(Windows and Linux only)
"
},
},
{
{
id
:
"
doc/manuals/3.Networking
"
,
id
:
"
doc/manuals/3.Networking
"
,
...
@@ -127,12 +127,16 @@ var toc = [
...
@@ -127,12 +127,16 @@ var toc = [
title
:
"
Cyclone
"
,
title
:
"
Cyclone
"
,
description
:
"
library of clones of Max/MSP 4.x objects
"
description
:
"
library of clones of Max/MSP 4.x objects
"
},
},
// Gem isn't currently running on OSX, so we don't list it here
{
// {
id
:
"
extra/disis
"
,
// id: "extra/Gem",
title
:
"
DISIS
"
,
// title: "GEM",
description
:
"
DISIS externals (Linux only)
"
// description: "Graphics Environment for Multimedia (OpenGL graphics in Pd)"
},
// },
{
id
:
"
extra/Gem
"
,
title
:
"
GEM
"
,
description
:
"
Graphics Environment for Multimedia (Windows and Linux only)
"
},
{
{
id
:
"
extra/lyon
"
,
id
:
"
extra/lyon
"
,
title
:
"
LyonPotpourri
"
,
title
:
"
LyonPotpourri
"
,
...
@@ -217,17 +221,22 @@ function display_toc() {
...
@@ -217,17 +221,22 @@ function display_toc() {
toc
.
forEach
(
function
(
doc
,
i
,
a
)
{
toc
.
forEach
(
function
(
doc
,
i
,
a
)
{
div
=
document
.
createElement
(
"
div
"
);
div
=
document
.
createElement
(
"
div
"
);
if
(
doc
.
id
)
{
if
(
doc
.
id
)
{
a
=
document
.
createElement
(
"
a
"
);
try
{
a
.
href
=
"
javascript: click_toc('
"
+
doc
.
id
+
"
');
"
;
fs
.
accessSync
(
path
.
join
(
pdgui
.
get_lib_dir
(),
doc
.
id
),
fs
.
F_OK
);
a
.
textContent
=
doc
.
title
;
a
=
document
.
createElement
(
"
a
"
);
// set title to path for tooltip
a
.
href
=
"
javascript: click_toc('
"
+
doc
.
id
+
"
');
"
;
a
.
title
=
doc
.
id
;
a
.
textContent
=
doc
.
title
;
header
=
document
.
createElement
(
"
h3
"
);
// set title to path for tooltip
header
.
appendChild
(
a
);
a
.
title
=
doc
.
id
;
div
.
appendChild
(
header
);
header
=
document
.
createElement
(
"
h3
"
);
if
(
doc
.
description
)
{
header
.
appendChild
(
a
);
text_node
=
document
.
createTextNode
(
doc
.
description
);
div
.
appendChild
(
header
);
div
.
appendChild
(
text_node
);
if
(
doc
.
description
)
{
text_node
=
document
.
createTextNode
(
doc
.
description
);
div
.
appendChild
(
text_node
);
}
}
catch
(
e
)
{
// entry doesn't exist, ignore it
}
}
}
else
{
}
else
{
// make a session title
// make a session title
...
@@ -236,7 +245,9 @@ function display_toc() {
...
@@ -236,7 +245,9 @@ function display_toc() {
header
.
appendChild
(
text_node
);
header
.
appendChild
(
text_node
);
div
.
appendChild
(
header
);
div
.
appendChild
(
header
);
}
}
results_elem
.
appendChild
(
div
);
if
(
div
.
hasChildNodes
())
{
results_elem
.
appendChild
(
div
);
}
});
});
}
}
...
...
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