Skip to content

Commit

Permalink
docs: update sphinx 101
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Apr 28, 2020
1 parent 5c9d6f3 commit f6dc023
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 14 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/force-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release Cycle

on:
push:
branches:
- master

jobs:
regular-release:
if: "startsWith(github.event.head_commit.message, 'build') && github.actor == github.event.repository.owner.login"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.JINA_DEV_BOT }}
fetch-depth: 100 # means max contribute history is limited to 100 lines
- uses: actions/setup-python@v1
with:
python-version: 3.7
# https://github.com/actions/checkout#fetch-all-tags
- run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
npm install git-release-notes
pip install twine wheel
- run: ./release.sh
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
- if: failure()
run: echo "nothing to release"
- name: bumping master version
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.JINA_DEV_BOT }}
tags: true
18 changes: 4 additions & 14 deletions docs/chapters/101/.sphinx.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# Jina 101: First Thing to Learn About Jina

[pdf btn] [retweet btn] [goto github btn] [read the doc btn] [website btn] [hello-world btn]


<a href="https://jina.ai">English</a> •
<a href="">日本語</a> •
<a href="">français</a> •
<a href="">Русский язык</a> •
<a href="">中文</a>


<br/><br/><br/><br/>
> Checkout [our Github for multi-lingual version of this 101 Guide](https://github.com/jina-ai/jina/blob/master/docs/chapters/101/README.md).
## Document & Chunk

Expand Down Expand Up @@ -171,7 +161,7 @@ You can design at the micro-level and scale that up to the macro-level. YAMLs be
✨<b>Unleash your curiosity and happy searching! </b>🔍
</p>

<p align="center">
[pdf btn] [retweet btn] [goto github btn] [read the doc btn] [website btn] [hello-world btn]
</p>

> Checkout [our Github for multi-lingual version of this 101 Guide](https://github.com/jina-ai/jina/blob/master/docs/chapters/101/README.md).

0 comments on commit f6dc023

Please sign in to comment.