e5759993329b6e609e9ab825991a90283e714088
mspeir
  Wed Sep 9 11:17:57 2026 -0700
Help pages: fix broken internal links and restore anchors people still cite, refs #38062

Three groups of anchor problems on the help and FAQ pages.

Broken internal links, five pages: posters.html listed a 2022 section that
does not exist (no 2022 posters), api.html listed REST and JSON separately
after the two sections were merged, docker.html pointed at a #UsrAcct section
that is not on that page, FAQgenes.html had a capitalized #ncbiRefSeq where
the anchor is #ncbiRefseq, and the genomes.txt settings rows in
trackDbHub.v3.html carried no anchors so its own "genome" link missed.

Retired anchors that are still cited in twenty years of answers on the genome
list. Content moved to its own page and the old anchor was deleted rather than
left behind, so the citations land at the top of the page. Reattached seven
numeric FAQformat anchors to the Topics entry linking to each format's page.
BED, PSL, GFF and GTF were removed from the custom track page in 2012 and
never added back to its list of supported formats; added them with the old
anchors, which fixes customTrack.html and hgTracksHelp.html together since
both include customTrackText.html. Also restored #lines there, and #Session
on hgTrackHubHelp.html and #link4 on FAQlink.html.

Section anchors on six pages that had none, so a support answer can link to
one part of them: bam.html, hic.html, bedgraph.html, ftp.html, net.html and
trackDbIndexBb.html. Skipped quickLiftChain.html, oligoMatch.html and
cutters.html, which are track description fragments included into the details
page rather than standalone pages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

diff --git src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html
index bf1f741f3a0..37327501383 100755
--- src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html
+++ src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html
@@ -162,30 +162,31 @@
 To import a new hub, type or paste its URL into the text box, then click the &quot;Add Hub&quot; button. 
 If successful, your track hub will appear on that page.</p> 
 <p>
 Tracks accessed through a hub can be used in Genome Browser
 <a href="hgSessionHelp.html">sessions</a> and <a href="hgTracksHelp.html#CustomTracks">custom 
 tracks</a> in the same manner as other tracks. The data underlying data hub tracks can be viewed,
 manipulated, and downloaded using the <a href="../../cgi-bin/hgTables">UCSC Table Browser</a>.
 To remove a track hub from your Genome Browser display, click the &quot;Disconnect&quot; button on
 the Track Hubs page.</p>
 <p>
 For confidential or private data, please note
 that unlisted hubs are not secure. The URL helps to hide the location of the data; it is
 a simple barrier of obscurity. Please also know that hubs can be loaded from local directories
 when using <a  href="hubQuickStartAssembly.html#blatGbib">GBiB</a>.</p>
 
+<a name="Session"></a>
 <a name="Sharing"></a>
 <h2>Sharing Track Hubs</h2>
 <p>When sharing track hubs on a single assembly, we recommend using 
 <a href="../../cgi-bin/hgSession">Saved Sessions</a>
 (especially for publications). These have the advantages 
 of being single-click access and sharing a full browser configuration.
 If you are just starting, an overview of the process is to make the hub on 
 your web-accessible server, attach the hub to the Genome Browser, configure
 browser position and related tracks, then <a href="../../cgi-bin/hgSession">
 save your named session</a> and share the
 session link. Your session links will be in the following format with 
 your chosen username and session name:</p>
 <ul>
 <li><a href="http://genome.ucsc.edu/s/ExampleUser/TrackHubSession">
 http://genome.ucsc.edu/s/ExampleUser/TrackHubSession</a></li>