Docs: added symlinks for paths resolution, removed jquery loading (#1050)
This commit is contained in:
parent
e3c610d37c
commit
d3fe87b70d
1
docs/_static/js/atari/benchmark
vendored
Symbolic link
1
docs/_static/js/atari/benchmark
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../examples/atari/benchmark
|
14
docs/_static/js/benchmark.js
vendored
14
docs/_static/js/benchmark.js
vendored
@ -1,17 +1,3 @@
|
|||||||
// Immediately-invoked function expression - load JQuery
|
|
||||||
(function() {
|
|
||||||
// Load the script
|
|
||||||
const script = document.createElement("script");
|
|
||||||
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js';
|
|
||||||
script.type = 'text/javascript';
|
|
||||||
script.addEventListener('load', () => {
|
|
||||||
console.log(`jQuery ${$.fn.jquery} has been loaded successfully!`);
|
|
||||||
// use jQuery below
|
|
||||||
});
|
|
||||||
document.head.appendChild(script);
|
|
||||||
})();
|
|
||||||
|
|
||||||
|
|
||||||
var mujoco_envs = [
|
var mujoco_envs = [
|
||||||
"Ant-v3",
|
"Ant-v3",
|
||||||
"HalfCheetah-v3",
|
"HalfCheetah-v3",
|
||||||
|
14
docs/_static/js/copybutton.js
vendored
14
docs/_static/js/copybutton.js
vendored
@ -1,17 +1,3 @@
|
|||||||
// Immediately-invoked function expression - load JQuery
|
|
||||||
(function() {
|
|
||||||
// Load the script
|
|
||||||
const script = document.createElement("script");
|
|
||||||
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js';
|
|
||||||
script.type = 'text/javascript';
|
|
||||||
script.addEventListener('load', () => {
|
|
||||||
console.log(`jQuery ${$.fn.jquery} has been loaded successfully!`);
|
|
||||||
// use jQuery below
|
|
||||||
});
|
|
||||||
document.head.appendChild(script);
|
|
||||||
})();
|
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
/* Add a [>>>] button on the top-right corner of code samples to hide
|
/* Add a [>>>] button on the top-right corner of code samples to hide
|
||||||
* the >>> and ... prompts and the output and thus make the code
|
* the >>> and ... prompts and the output and thus make the code
|
||||||
|
1
docs/_static/js/mujoco/benchmark
vendored
Symbolic link
1
docs/_static/js/mujoco/benchmark
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../examples/mujoco/benchmark
|
Loading…
x
Reference in New Issue
Block a user