summaryrefslogtreecommitdiff
path: root/Documentation/General/html/printComponentTabs.js
diff options
context:
space:
mode:
authorAli Labbene <ali.labbene@st.com>2019-12-11 08:59:21 +0100
committerAli Labbene <ali.labbene@st.com>2019-12-16 16:35:24 +0100
commit9f95ff5b6ba01db09552b84a0ab79607060a2666 (patch)
tree8a6e0dda832555c692307869aed49d07ee7facfe /Documentation/General/html/printComponentTabs.js
parent76177aa280494bb36d7a0bcbda1078d4db717020 (diff)
downloadst-cmsis-core-lowfat-9f95ff5b6ba01db09552b84a0ab79607060a2666.tar.gz
st-cmsis-core-lowfat-9f95ff5b6ba01db09552b84a0ab79607060a2666.tar.bz2
st-cmsis-core-lowfat-9f95ff5b6ba01db09552b84a0ab79607060a2666.zip
Official ARM version: v5.4.0
Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3
Diffstat (limited to 'Documentation/General/html/printComponentTabs.js')
-rw-r--r--Documentation/General/html/printComponentTabs.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/Documentation/General/html/printComponentTabs.js b/Documentation/General/html/printComponentTabs.js
deleted file mode 100644
index 64d846b..0000000
--- a/Documentation/General/html/printComponentTabs.js
+++ /dev/null
@@ -1,36 +0,0 @@
-var strgURL = location.pathname; // path of current component
-
-// constuctor for the array of objects
-function tabElement(id, folderName, tabTxt ) {
- this.id = id; // elementID as needed in html;
- this.folderName = folderName; // folder name of the component
- this.tabTxt = tabTxt; // Text displayed as menu on the web
- this.currentListItem = '<li id="' + this.id + '" class="current"> <a href="../..' + this.folderName + 'index.html"><span>' + this.tabTxt + '</span></a></li>';
- this.listItem = '<li id="' + this.id + '"> <a href="../..' + this.folderName + 'index.html"><span>' + this.tabTxt + '</span></a></li>';
-};
-
-// array of objects
-var arr = [];
-
-// fill array
- arr.push( new tabElement( "GEN", "/General/html/", "General") );
- arr.push( new tabElement( "CORE", "/Core/html/", "Core") );
- arr.push( new tabElement( "DRV", "/Driver/html/", "Driver") );
- arr.push( new tabElement( "DSP", "/DSP/html/", "DSP") );
- arr.push( new tabElement( "RTOS", "/RTOS/html/", "RTOS API") );
- arr.push( new tabElement( "RTX", "/RTX/html/", "RTX") );
- arr.push( new tabElement( "PACK", "/Pack/html/", "Pack") );
- arr.push( new tabElement( "SVD", "/SVD/html/", "SVD") );
- arr.push( new tabElement( "DAP", "/DAP/html/", "DAP") );
-
-// write tabs
-// called from the header file.
-function writeComponentTabs() {
- for ( var i=0; i < arr.length; i++ ) {
- if (strgURL.search(arr[i].folderName) > 0) { // if this is the current folder
- document.write(arr[i].currentListItem); // then print and hightlight the tab
- } else {
- document.write(arr[i].listItem); // else, print the tab
- }
- }
-};