Fix navigation: move Back to Top links to right side and restore anchor functionality

- Move all 'Back to Top' links to right side using <div align="right">
- Add explicit anchor IDs to all command sections to restore table of contents navigation
- Fix broken anchor links that were caused by adding Back to Top text to headers
- Ensure table of contents links in Overview section work properly again
- Professional right-aligned navigation with functional anchor jumping
This commit is contained in:
reynold
2025-08-28 22:46:25 +08:00
parent 23c7511f90
commit 41fa9c5da8

View File

@@ -133,7 +133,7 @@ Set-Alias sf-logs-tail "C:\\path\\to\\sf-cli-wrapper\\sf-logs-tail.ps1"
--- ---
### sf-org-create / sf-org-create.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-org-create"></a>sf-org-create / sf-org-create.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Smart scratch org creation with templates and intelligent defaults. Smart scratch org creation with templates and intelligent defaults.
@@ -166,7 +166,7 @@ sf-org-create -al TestOrg -dd 5 -nn
--- ---
### sf-org-info / sf-org-info.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-org-info--sf-org-infops1"></a>sf-org-info / sf-org-info.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Display org information, limits, and list authenticated orgs. Display org information, limits, and list authenticated orgs.
@@ -202,7 +202,7 @@ sf-org-info -to MyOrg -ve
--- ---
### sf-retrieve / sf-retrieve.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-retrieve--sf-retrieveps1"></a>sf-retrieve / sf-retrieve.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Retrieve metadata from orgs using types, manifests, or package names. Retrieve metadata from orgs using types, manifests, or package names.
@@ -240,7 +240,7 @@ sf-retrieve -to PROD-ORG -tp "ApexClass" -dr "retrieved-metadata"
--- ---
### sf-test-run / sf-test-run.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-test-run--sf-test-runps1"></a>sf-test-run / sf-test-run.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Run Apex tests with coverage reporting and flexible targeting. Run Apex tests with coverage reporting and flexible targeting.
@@ -279,7 +279,7 @@ sf-test-run -to DEMO-ORG -al -wt 30
--- ---
### sf-apex-run / sf-apex-run.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-apex-run--sf-apex-runps1"></a>sf-apex-run / sf-apex-run.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Execute anonymous Apex code from files or inline. Execute anonymous Apex code from files or inline.
@@ -312,7 +312,7 @@ sf-apex-run -fl test.apex -ve
--- ---
### sf-data-export / sf-data-export.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-data-export--sf-data-exportps1"></a>sf-data-export / sf-data-export.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Export data via SOQL to CSV/JSON with optional Bulk API. Export data via SOQL to CSV/JSON with optional Bulk API.
@@ -353,7 +353,7 @@ sf-data-export -qy "SELECT Id FROM User" -to production
--- ---
### sf-data-import / sf-data-import.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-data-import--sf-data-importps1"></a>sf-data-import / sf-data-import.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Import CSV/JSON with insert/update/upsert operations. Import CSV/JSON with insert/update/upsert operations.
@@ -395,7 +395,7 @@ sf-data-import -fl updates.csv -so Account -op update -ei AccountNumber
--- ---
### sf-logs-tail / sf-logs-tail.ps1 [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-logs-tail--sf-logs-tailps1"></a>sf-logs-tail / sf-logs-tail.ps1 <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Real-time debug logs tail with filtering, levels, and Apex-only mode. Real-time debug logs tail with filtering, levels, and Apex-only mode.
@@ -435,7 +435,7 @@ sf-logs-tail -to sandbox -ui USER123
--- ---
### sf-deploy [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-deploy"></a>sf-deploy <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Wrapper for `sf project deploy start` that simplifies deploying multiple source files with optional test execution. Wrapper for `sf project deploy start` that simplifies deploying multiple source files with optional test execution.
@@ -468,7 +468,7 @@ sf-deploy -to DEMO-ORG \
--- ---
### sf-dry-run [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-dry-run"></a>sf-dry-run <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Wrapper for `sf project deploy start --dry-run` that validates deployments without actually deploying. Wrapper for `sf project deploy start --dry-run` that validates deployments without actually deploying.
@@ -501,7 +501,7 @@ sf-dry-run -to DEMO-ORG \
--- ---
### sf-web-open [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-web-open"></a>sf-web-open <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Wrapper for `sf org open` that provides quick access to Salesforce orgs with optional path navigation. Wrapper for `sf org open` that provides quick access to Salesforce orgs with optional path navigation.
@@ -533,7 +533,7 @@ sf-web-open -to NUSHUB-DR2 -ur
--- ---
### sf-check [🏠 Back to Top](#salesforce-cli-wrapper-scripts) ### <a id="sf-check"></a>sf-check <div align="right">[🏠 Back to Top](#salesforce-cli-wrapper-scripts)</div>
Environment verification tool that checks if the Salesforce CLI is properly installed and configured. Environment verification tool that checks if the Salesforce CLI is properly installed and configured.