Skip to content

Commit

Permalink
Remove sync-docs.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
  • Loading branch information
carmenbianca committed May 21, 2024
1 parent 211193b commit 4e997fb
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 60 deletions.
7 changes: 0 additions & 7 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ steps:
commands:
- reuse lint

# Build and copy reuse docs files to reuse website
- name: sync-docs
image: alpine:3
commands:
- apk add bash perl-yaml-tiny po4a diffutils
- bash sync-docs.sh

# Create translations for markdown via PO files
- name: po4a
image: alpine:3.16
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
site/public/
site/.hugo_build.lock

# Ignore all languages that shall only be generated by sync-docs.sh/po4a
# Ignore all languages that shall only be generated by po4a
site/content/*/*
# But do not ignore other files in English content folder
!site/content/en/*
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN sed -i -r 's/#LoadModule expires_module/LoadModule expires_module/' /opt/bit


# =============================================================================
# Development Preparation: run sync-docs, po4a and hugo
# Development Preparation: run po4a and hugo
# =============================================================================

FROM alpine:3.16 as dev-prep
Expand All @@ -27,9 +27,6 @@ COPY . /app

WORKDIR /app/

# sync and translate docs (from their own po files)
RUN bash sync-docs.sh

# Run po4a for reuse-website po strings
RUN cd site/ && po4a po/po4a.conf

Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ Most interesting files are located in `site/content/en/`, specifically:

## Install

Before doing anything, run the following commands to download the documentation
as submodule, and to synchronise the contents of the submodule into the `site/`
directory:

```
git submodule update --init
bash sync-docs.sh
```

There's no installation here, but to test the website locally, run
`hugo server` inside the `site/` directory. Typically, we let our Drone
CI build and deploy the website for us.
Expand Down
39 changes: 0 additions & 39 deletions sync-docs.sh

This file was deleted.

0 comments on commit 4e997fb

Please sign in to comment.