Skip to content

Instantly share code, notes, and snippets.

View shkumagai's full-sized avatar
🏠
Working from home

Shoji KUMAGAI shkumagai

🏠
Working from home
View GitHub Profile
@voluntas
voluntas / shiguredo_tech.rst
Last active April 11, 2024 08:30
時雨堂を支える技術

時雨堂を支える技術

日時

2024-04-11

時雨堂

バージョン

2024.4

URL

https://shiguredo.jp/

時雨堂クラウドサービスを支える技術

#!/bin/sh
rm -rf .git
hg init .
hg add
hg commit -m 'git to hg'
@shirou
shirou / make.py
Created November 2, 2012 13:43
Sphinx OS-independent make script written by Python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from subprocess import Popen
import shlex
import sys
import os
SPHINXOPTS = ""
SPHINXBUILD = "sphinx-build"
@shirou
shirou / build.py
Created December 22, 2011 15:43
sphinx websupport with NGRAM schema
from sphinx.websupport import WebSupport
from sphinx.websupport.errors import DocumentNotFoundError
from sphinx.websupport.search import whooshsearch
from whoosh.fields import Schema, ID, TEXT, NGRAM
import os
import shutil
ROOT = '/absoulte/path/to/sampledoc'