Skip to content

Commit

Permalink
chore(docs): use source instead of . for sourcing files
Browse files Browse the repository at this point in the history
This makes it easier to read.
  • Loading branch information
nijel committed Oct 15, 2024
1 parent cc19249 commit 8544194
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © Michal Čihař <michal@weblate.org>
# Copyrightct © Michal Čihař <michal@weblate.org>

This comment has been minimized.

Copy link
@Geeyun-JY3

Geeyun-JY3 Oct 16, 2024

Collaborator

What is Copyrightct? Is it a typo?

#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -35,5 +35,5 @@ jobs:
- name: Install Weblate
run: |
uv venv --python python3.12 .venv
. .venv/bin/activate
source .venv/bin/activate
uv pip install -e .[all,test]
2 changes: 1 addition & 1 deletion dev-docker/weblate-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ RUN apt-get update && apt-get install -y \
RUN apt-get install -y gir1.2-rsvg-2.0

COPY requirements.txt /tmp/
RUN . /app/venv/bin/activate && uv pip install -r /tmp/requirements.txt
RUN source /app/venv/bin/activate && uv pip install -r /tmp/requirements.txt
# List should match weblate/weblate
RUN chown -R "${USER_ID}:${GROUP_ID}" /etc/nginx/sites-available/ /var/log/nginx/ /var/lib/nginx /app/data /app/cache /run /home/weblate /etc/localtime /etc/supervisor/conf.d /tmp/localtime
4 changes: 2 additions & 2 deletions docs/contributing/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ sources.

.. code-block:: sh
virtualenv .venv
. .venv/bin/activate
uv venv .venv
source .venv/bin/activate
3. Install Weblate (for this you need some system dependencies, see :doc:`../admin/install/source`) and all dependencies useful for development:

Expand Down

0 comments on commit 8544194

Please sign in to comment.