Skip to content
Snippets Groups Projects
Commit 4421b178 authored by Anne Philipp's avatar Anne Philipp
Browse files

Merge branch 'dev' of https://www.flexpart.eu/git/flex_extract into dev

Merged last changes from flexpart.eu git repo
parents b4fdb89c 5b5589b5
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 62 deletions
Documentation/FORD/V5/Doc_original/80x15.png

450 B

project: Flex_extract: Calculation of etadot
src_dir: ./Src_from_repositoryApril15
output_dir: ./Doc_original
summary: Calculation of vertical velocity for FLEXPART
author: Leopold Haimberger
author_description: Univ. of Vienna, Dept. of Meteorology & Geophysics
email:
linkedin:
docmark:
predocmark:
media_dir: ./Doc_original
docmark_alt: #
predocmark_alt: <
coloured_edges:
display: true
source: true
graph: true
search: true
warn: false
license: by
version: 7.1
The content of this directory is the automatic documentation for the Etadot calculation in Fortran created by FORD v5.0.6. We will get rid of the whole directory as soon as either FORD v6 properly recognises tabs, or source files have been sanitised wrt to tabs.
fmw.md is the input for for FORD. Usage:
ford fmw.md
#!/bin/bash
# Sanitise the output of FORD so that it uses a local copy of the CC-BY img
# rather than downloading it, and comment out the mathjax.js library being
# fetched (from mathjax.com) for data protection reasons.
# Copyright Petra Seibert, 2019
# SPDX-License-Identifier: MIT-0
doc=`grep output_dir fmw.md|cut -d\ -f2`
old='https://i.creativecommons.org/l/by/4.0/80x15.png'
new='80x15.png'
for f in `find $doc -type f -exec grep -l ${old} {} \; ` ; do
depth=`echo $f | tr -cd '/' | wc -c`
depth=$(( depth - 2))
sub=$new
while (( --depth >= 0 )); do
sub='../'$sub
done
sed -i "s=${old}=${sub}=g" $f
echo 'remove cc link in ' $f
done
searchstring='https://cdn.mathjax.org'
old='<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'
new='<!-- <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> -->'
for f in `find $doc -type f -exec grep -l ${searchstring} {} \; ` ; do
sed -i "s+${old}+${new}+g" $f
echo 'comment out mathjax link in ' $f
done
File deleted
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment