diff --git a/docs/judge/setting_up_a_judge.md b/docs/judge/setting_up_a_judge.md index d360ca3..62ab5cc 100644 --- a/docs/judge/setting_up_a_judge.md +++ b/docs/judge/setting_up_a_judge.md @@ -53,7 +53,7 @@ connecting it to the site. It expects problems to be placed on the host under `/mnt/problems/judge.yml`. ```shell-session -$ git clone --recursive https://github.com/DMOJ/judge.git +$ git clone --recursive https://github.com/DMOJ/judge-server.git $ cd judge/.docker $ make judge-tier1 $ docker run \ diff --git a/docs/site/installation.md b/docs/site/installation.md index c506d50..3760b47 100644 --- a/docs/site/installation.md +++ b/docs/site/installation.md @@ -47,7 +47,7 @@ You should see `(dmojsite)` prepended to your shell. Henceforth, `(dmojsite)` co Now, fetch the site source code. If you plan to install a judge [from PyPI](https://pypi.org/project/dmoj/), check out a matching version of the site repository. For example, for judge v4.0.0: ```shell-session -(dmojsite) $ git clone https://github.com/DMOJ/site.git +(dmojsite) $ git clone https://github.com/DMOJ/online-judge.git (dmojsite) $ cd site (dmojsite) $ git checkout v4.0.0 # only if planning to install a judge from PyPI, otherwise skip this step (dmojsite) $ git submodule init diff --git a/docs/site/mathoid.md b/docs/site/mathoid.md index 5ca6e7d..371507c 100644 --- a/docs/site/mathoid.md +++ b/docs/site/mathoid.md @@ -4,11 +4,11 @@ The DMOJ platform is capable of rendering LaTeX math for constraints and formula For example, [this problem](https://dmoj.ca/problem/fibonacci) makes extensive use of this functionality to present crisp math rendering in browsers. -The DMOJ makes use of the [Wikimedia Mathoid](https://github.com/wikimedia/mathoid) project to render math. +The DMOJ makes use of the [Wikimedia Mathoid](https://github.com/wikimedia/mediawiki-services-mathoid) project to render math. ## Installing Mathoid -Follow the [installation instructions](https://github.com/wikimedia/mathoid) of Mathoid. Moving forward, we'll assume that +Follow the [installation instructions](https://github.com/wikimedia/mediawiki-services-mathoid) of Mathoid. Moving forward, we'll assume that you are running Mathoid on `localhost:8888`. ## Configuring DMOJ to use Mathoid diff --git a/docs/site/pdfoid.md b/docs/site/pdfoid.md index c799dba..803f70e 100644 --- a/docs/site/pdfoid.md +++ b/docs/site/pdfoid.md @@ -28,7 +28,7 @@ Install `exiftool`, which is used to set PDF titles. $ apt install exiftool ``` -Install [ChromeDriver](https://chromedriver.chromium.org/downloads), a special version of the Chromium engine needed by +Install [ChromeDriver](https://developer.chrome.com/docs/chromedriver/downloads), a special version of the Chromium engine needed by Selenium to create PDFs. ```shell-session diff --git a/docs/site/user_data_download.md b/docs/site/user_data_download.md index 3faa368..bc99a1e 100644 --- a/docs/site/user_data_download.md +++ b/docs/site/user_data_download.md @@ -22,7 +22,7 @@ DMOJ_USER_DATA_DOWNLOAD_RATELIMIT = datetime.timedelta(days=1) ``` Also, uncomment the relevant section in your Nginx configuration if you wish to take -advantage of Nginx's [X-Accel-Redirect](https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/#x-accel-redirect) +advantage of Nginx's [X-Accel-Redirect](https://github.com/nginxinc/nginx-wiki/blob/master/source/start/topics/examples/x-accel.rst#x-accel-redirect) feature. ```nginx diff --git a/sample_files/local_settings.py b/sample_files/local_settings.py index 9ff2de3..d4fc987 100644 --- a/sample_files/local_settings.py +++ b/sample_files/local_settings.py @@ -1,7 +1,7 @@ ##################################### ########## Django settings ########## ##################################### -# See +# See # for more info and help. If you are stuck, you can try Googling about # Django - many of these settings below have external documentation about them. # @@ -24,7 +24,7 @@ ) # Caching. You can use memcached or redis instead. -# Documentation: +# Documentation: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', @@ -32,7 +32,7 @@ } # Your database credentials. Only MySQL is supported by DMOJ. -# Documentation: +# Documentation: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', @@ -48,11 +48,11 @@ } # Sessions. -# Documentation: +# Documentation: #SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db' # Internationalization. -# Documentation: +# Documentation: LANGUAGE_CODE = 'en-ca' DEFAULT_USER_TIME_ZONE = 'America/Toronto' USE_I18N = True @@ -74,7 +74,7 @@ ######################################### ########## Email configuration ########## ######################################### -# See +# See # for more documentation. You should follow the information there to define # your email settings. @@ -116,7 +116,7 @@ ################################################ ########## Static files configuration ########## ################################################ -# See . +# See . # Change this to somewhere more permanent, especially if you are using a # webserver to serve the static files. This is the directory where all the @@ -252,7 +252,7 @@ ## ======== Logging Settings ======== -# Documentation: https://docs.djangoproject.com/en/3.2/ref/settings/#logging +# Documentation: https://docs.djangoproject.com/en/4.2/ref/settings/#logging # https://docs.python.org/3/library/logging.config.html#configuration-dictionary-schema LOGGING = { 'version': 1, diff --git a/sample_files/problem_markdown_example.md.txt b/sample_files/problem_markdown_example.md.txt index daf462a..36e7c48 100644 --- a/sample_files/problem_markdown_example.md.txt +++ b/sample_files/problem_markdown_example.md.txt @@ -158,5 +158,5 @@ Optional: an explanation of how the Sample Output was produced goes here, clarif A prime number has exactly two divisors: ~1~ and itself. The prime numbers in ~A~ are ~2, 3~ and ~5~, so the output is ~2 + 3 + 5 = 10~. - [1]: https://google.ca - [2]: https://www.google.ca/doodle4google/images/splashes/featured.png + [1]: https://www.google.ca/ + [2]: https://doodles.google.ca/d4g/images/splashes/featured.png