Changeset 9308


Ignore:
Timestamp:
08/11/11 17:00:01 (14 years ago)
Author:
Mathieu Morlighem
Message:

some fixing

Location:
issm/trunk/doxygen
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • issm/trunk/doxygen/createchtmldoc.sh

    r9303 r9308  
    88
    99#Symlink the doxygen configuration file to root dir.
    10 ln -s "$ISSM_DIR/website/doc_c/doxygen.config" ./doxygen.config
    11 ln -s "$ISSM_DIR/website/doc_c/doxygenissm.css" ./doxygenissm.css
    12 ln -s "$ISSM_DIR/website/doc_c/layoutissm.xml" ./layoutissm.xml
     10ln -s "$ISSM_TIER/doxygen/doc_c/doxygen.config" ./doxygen.config
     11ln -s "$ISSM_TIER/doxygen/doc_c/doxygenissm.css" ./doxygenissm.css
     12ln -s "$ISSM_TIER/doxygen/doc_c/layoutissm.xml" ./layoutissm.xml
    1313
    1414#Run doxygen
  • issm/trunk/doxygen/creatematlabhtmldoc.sh

    r9303 r9308  
    22
    33#remove previous doc
    4 rm -rf "$ISSM_TIER/doc/website/doc_m/matlabhtml"
     4rm -rf "$ISSM_TIER/doxygen/doc_m/matlabhtml"
    55
    66#copy issm_template in m2html
    7 cd "$ISSM_TIER/externalpackages/m2html/install/templates"
    8 ln -s "$ISSM_TIER/../website/doc_m/template_issm" ./template_issm
     7cd $ISSM_TIER/externalpackages/m2html/install/templates
     8ln -s $ISSM_TIER/doxygen/doc_m/template_issm ./template_issm
    99
    1010#go to the main directory
     
    1313#launch matlab
    1414matlab -nodisplay << EOF
    15         %get ISSM_TIER, brief name
    16         [status,ISSM_TIER_BRIEF]=system('basename `pwd`');
    17         ISSM_TIER_BRIEF=ISSM_TIER_BRIEF(1:end-1); %skip the \n character
    18         if status~=0 | isempty(ISSM_TIER_BRIEF) | length(ISSM_TIER_BRIEF)==1,
    19                 error('startup error message: could not retrieve ISSM_TIER brief name');
    20         end
    2115
    2216        %Add m2html in path
    23         addpath(genpath_ice([ISSM_TIER '/externalpackages/m2html/install']));
    24 
    25         cd ../
     17        addpath(genpath_ice([issmtier() '/externalpackages/m2html/install']));
    2618
    2719        %Here are the subdirectories we want to go through:
    28         mfiles={[ISSM_TIER_BRIEF '/src/m']};
    29         %mfiles={[ISSM_TIER_BRIEF '/src/m/classes/public/plot']};
     20        mfiles={'src/m'};
    3021
    3122        %run m2html, and dump the documentation in ISSM_TIER/doc/website/doc_m/matlabhtml
    32         m2html('htmldir',[ISSM_TIER '/../website/doc_m/matlabhtml'],'recursive','on','source','on',...
     23        m2html('htmldir',[issmtier() '/doxygen/doc_m/matlabhtml'],'recursive','on','source','on',...
    3324        'syntaxHighlighting','on','globalHypertextLinks','on','global','on','template','template_issm',...
    34         'graph','on','index','menu','mFiles',mfiles);
     25        'graph','off','index','menu','mFiles',mfiles);
    3526EOF
    3627
  • issm/trunk/doxygen/doc_c/doxygen.config

    r9303 r9308  
    3939# where doxygen was started. If left blank the current directory will be used.
    4040
    41 OUTPUT_DIRECTORY       =  ../website/doc_c
     41OUTPUT_DIRECTORY       =  ./doxygen/doc_c/
    4242
    4343# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
Note: See TracChangeset for help on using the changeset viewer.