Skip to content

Commit

Permalink
Merge pull request #112 from intri-in/readtheDocsFix
Browse files Browse the repository at this point in the history
- Fix for builds failing on read the docs.
  • Loading branch information
intri-in authored Nov 28, 2023
2 parents c1f0306 + ee2d919 commit ca31dac
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
23 changes: 23 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
9 changes: 1 addition & 8 deletions COMMITMESSAGE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
- Fixed Docker installation not working on remote hosts behind proxeis.
- The problem started with NEXT_PUBLIC_BASE_URL variable. Variables that start with NEXT_PUBLIC need to be set during build time, and cannot be set while running the docker image.
- Now NEXT_PUBLIC_BASE_URL is no longer required to be set in the .env file and will be ignored even if set.
- The API url is now a relative URL
- Docker images now seem to be working on host behind proxies.
- Renamed var NEXT_PUBLIC_USE_NEXT_AUTH to USE_NEXT_AUTH, for the aforementioned reasons.
- Updated Docs to reflect these changes.
- Changed fetchLatestEvents to fetchLatestEventsV2 in login page.
- Fix for builds failing on read the docs.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"mysql": "2.18.1",
"mysql2": "3.4.0",
"next": "13.5.6",
"next-auth": "4.22.3",
"next-auth": "4.24.5",
"nextjs-progressbar": "0.0.16",
"nodemailer": "6.9.1",
"popper.js": "1.16.1",
Expand Down

0 comments on commit ca31dac

Please sign in to comment.