Skip to content

Commit b4590ef

Browse files
committed
Move src/doc to doc
Signed-off-by: freddidierRTE <[email protected]>
1 parent 03dd63a commit b4590ef

File tree

136 files changed

+23
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+23
-21
lines changed

ADOPTERS.adoc

Lines changed: 1 addition & 1 deletion

CICD/github/upload_doc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if [[ $OF_VERSION =~ .+RELEASE$ ]]; then
7171
# New Api documentation
7272
echo "copying new API documentation"
7373
mkdir -p $HOME/documentation/documentation/current/api/
74-
cp -r $OF_HOME/src/docs/api/build/index.html $HOME/documentation/documentation/current/api/
74+
cp -r $OF_HOME/docs/api/build/index.html $HOME/documentation/documentation/current/api/
7575

7676
# Copy asciidoctor documentation (including images)
7777
mkdir -p $HOME/documentation/documentation/current/
@@ -85,7 +85,7 @@ fi
8585
# New Api Documentation
8686
echo "copying new API documentation in archives"
8787
mkdir -p $HOME/documentation/documentation/archives/$OF_VERSION/api/
88-
cp -r $OF_HOME/src/docs/api/build/index.html $HOME/documentation/documentation/archives/$OF_VERSION/api/
88+
cp -r $OF_HOME/docs/api/build/index.html $HOME/documentation/documentation/archives/$OF_VERSION/api/
8989

9090

9191
# Copy asciidoctor documentation (only single_file_doc)

CICD/prepare_release_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ echo "Updating version for pipeline in VERSION file"
5858
sed -i "s/$oldVersion/$newVersion/g" VERSION;
5959

6060
echo "Replacing $oldVersion with $newVersion in api documentation"
61-
sed -i "s/\(version: *\)$oldVersion/\1$newVersion/g" ./src/docs/api/openapi.yml
61+
sed -i "s/\(version: *\)$oldVersion/\1$newVersion/g" ./docs/api/openapi.yml
6262
# With the current command, if the "version" key appears somewhere else in the file it will be affected as well.
6363
# That's why oldVersion is part of the pattern, as it is less likely that another version key would appear with the exact same value.
6464
# The issue is that if the value has been mistakenly modified and is not $oldVersion, it won't be updated

README.adoc

Lines changed: 1 addition & 1 deletion

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ sonar {
135135
'backend/**/jest.config.js'
136136
]
137137
property 'sonar.coverage.exclusions', coverageExclusions.join(',')
138-
property 'sonar.exclusions','**/generated/**/*,**/src/docs/**/*,**/*Application.java,**/node_modules/**/*'
138+
property 'sonar.exclusions','**/generated/**/*,docs/**/*,**/*Application.java,**/node_modules/**/*'
139139
// exclusions for analyse of duplicated code , test classes are excluded
140140
property 'sonar.cpd.exclusions','**/model/**/*,**/src/test/**/*,**/*.spec.ts,src/test/**,backend/**/tests/*'
141141

@@ -164,11 +164,13 @@ asciidoctor {
164164

165165
baseDirFollowsSourceFile()
166166

167+
sourceDir 'docs/asciidoc'
168+
167169
sources {
168170
include '*/index.adoc','docs/*'
169171
}
170172
resources {
171-
from('src/docs/asciidoc') {
173+
from('docs/asciidoc') {
172174
include 'images/*','pdf/*'
173175
}
174176
}
File renamed without changes.
File renamed without changes.

src/docs/asciidoc/CICD/release_process.adoc renamed to docs/asciidoc/CICD/release_process.adoc

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)