Explorar o código

Manual: Add Addons section anchor (#34017)

Isaac Johnson hai 1 semana
pai
achega
ea4b88cda3
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      manual/pages/installation.html
  2. 1 1
      utils/docs/template/tmpl/container.tmpl

+ 1 - 1
manual/pages/installation.html

@@ -253,7 +253,7 @@ npm install --save-dev vite
             <i><b>IMPORTANT:</b> Import all dependencies from the same version of three.js, and from the same CDN. Mixing files from different sources may cause duplicate code to be included, or even break the application in unexpected ways.</i>
             <i><b>IMPORTANT:</b> Import all dependencies from the same version of three.js, and from the same CDN. Mixing files from different sources may cause duplicate code to be included, or even break the application in unexpected ways.</i>
           </p>
           </p>
 
 
-          <h2>Addons</h2>
+          <h2 id="addons">Addons</h2>
 
 
           <p>
           <p>
             Out of the box, three.js includes the fundamentals of a 3D engine. Other three.js components — such as controls, loaders, and post-processing effects — are part of the [link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm addons/] directory. Addons do not need to be <i>installed</i> separately, but do need to be <i>imported</i> separately.
             Out of the box, three.js includes the fundamentals of a 3D engine. Other three.js components — such as controls, loaders, and post-processing effects — are part of the [link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm addons/] directory. Addons do not need to be <i>installed</i> separately, but do need to be <i>imported</i> separately.

+ 1 - 1
utils/docs/template/tmpl/container.tmpl

@@ -42,7 +42,7 @@
 			<article>
 			<article>
 				<?js if (doc.import) { ?>
 				<?js if (doc.import) { ?>
 				<h2 class="subsection-title">Import</h2>
 				<h2 class="subsection-title">Import</h2>
-				<p><span translate="no"><?js= doc.name ?></span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#installation">Installation#Addons</a>.</p>
+				<p><span translate="no"><?js= doc.name ?></span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#installation#addons">Installation#Addons</a>.</p>
 				<pre class="prettyprint source lang-js" translate="no"><code><?js= doc.import ?></code></pre>
 				<pre class="prettyprint source lang-js" translate="no"><code><?js= doc.import ?></code></pre>
 				<?js } ?>
 				<?js } ?>
 				<div class="container-overview">
 				<div class="container-overview">

粤ICP备19079148号