DEV Community

voluntas
voluntas

Posted on

3 1

Netlify で Sphinx をデプロイする

Netlify で Sphinx がデプロイできました。

requirements.txt には最低限だけ登録してあります。注意点としては Python3 を指定するために runtime.txt を用意して 3.7 と書いておく必要があります。

$ cat requirements.txt
Sphinx==2.3.1
sphinx-rtd-theme==0.4.3
$ cat runtime.txt
3.7
Enter fullscreen mode Exit fullscreen mode

あとは Build command に make html を指定し、 Publish directory に build/html を指定すれば、終わりです。

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay