Skip to content

Commit

Permalink
remove lang/article prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jinfenggt committed Apr 28, 2022
1 parent fccd2e6 commit 3cea4b6
Show file tree
Hide file tree
Showing 119 changed files with 120 additions and 120 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
slug: /lang/articles/differentiable_programming
slug: /differentiable_programming
---
# Differentiable programming

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/layout.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
slug: /lang/articles/layout
slug: /layout
---
# Fields (advanced)

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/meta.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 1
slug: /lang/articles/meta
slug: /meta
---
# Metaprogramming

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/odop.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 6
slug: /lang/articles/odop
slug: /odop
---
# Objective data-oriented programming

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 7
slug: /lang/articles/offset
slug: /offset
---
# Coordinate offsets

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/performance.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 5
slug: /lang/articles/performance
slug: /performance
---
# Performance tuning

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/sparse.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 3
slug: /lang/articles/sparse
slug: /sparse
---
# Sparse spatial data structures

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/sparse_matrix.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /lang/articles/sparse_matrix
slug: /sparse_matrix
---
# Sparse Matrix
Sparse matrices are frequently used when solving linear systems in science and engineering. Taichi provides programmers with useful APIs for sparse matrices.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/advanced/syntax_sugars.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 7
slug: /lang/articles/syntax_sugars
slug: /syntax_sugars
---
# Syntax sugars

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
slug: /lang/articles/differences_between_taichi_and_python_programs
slug: /differences_between_taichi_and_python_programs
---
# Differences between Taichi and Python programs

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/basic/external.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 5
slug: /lang/articles/external
slug: /external
---
# Interacting with external arrays

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/basic/field.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
slug: /lang/articles/field
slug: /field
---
# Fields

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/basic/operator.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
slug: /lang/articles/operator
slug: /operator
---
# Operators
Here we present the supported operators in Taichi for both primitive types and
Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/basic/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 0
slug: /lang/articles/overview
slug: /overview
---
# Why a new programming language

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/basic/syntax.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 1
slug: /lang/articles/syntax
slug: /syntax
---
# Kernels and functions

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/basic/type.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 3
slug: /lang/articles/type
slug: /type
---
# Type system

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/compilation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 8
slug: /lang/articles/compilation
slug: /compilation
---
# Life of a Taichi kernel

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 1
slug: /lang/articles/contributor_guide
slug: /contributor_guide
---
# Contribution guidelines

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/cpp_style.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
slug: /lang/articles/cpp_style
slug: /cpp_style
---
# C++ style

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/dev_install.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
slug: /lang/articles/dev_install
slug: /dev_install
---
# Developer installation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 3
slug: /lang/articles/development_tips
slug: /development_tips
---
# Development tips

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/doc_writing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 9
slug: /lang/articles/doc_writing
slug: /doc_writing
---
# Documentation writing guide

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/style_guide_en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 12
slug: /lang/articles/style_guide_en
slug: /style_guide_en
---
# Taichi Technical Documentation Style Guide

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/utilities.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 7
slug: /lang/articles/utilities
slug: /utilities
---
# Developer utilities

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/contribution/write_test.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 5
slug: /lang/articles/write_test
slug: /write_test
---
# Workflow for writing a Python test

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 11
slug: /lang/articles/writing_cpp_tests
slug: /writing_cpp_tests
---
# Workflow for writing a C++ test

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/faq.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 9999
slug: /lang/articles/faq
slug: /faq
---
# Frequently Asked Questions

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/gui/ggui.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
slug: /lang/articles/ggui
slug: /ggui
---
# A New UI system: GGUI

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/gui/gui_system.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 1
slug: /lang/articles/gui_system
slug: /gui_system
---
# GUI system

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/cli_utilities.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 6
slug: /lang/articles/cli_utilities
slug: /cli_utilities
---
# Command line utilities

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/debugging.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
slug: /lang/articles/debugging
slug: /debugging
---
# Debugging

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/export_kernels.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 8
slug: /lang/articles/export_kernels
slug: /export_kernels
---
# Export Taichi kernels to C source

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/export_results.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 5
slug: /lang/articles/export_results
slug: /export_results
---
# Export your results

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/global_settings.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 7
slug: /lang/articles/global_settings
slug: /global_settings
---
# Global settings

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/install.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 0
slug: /lang/articles/install
slug: /install
---
# Installation Troubleshooting

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/internal.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 3
slug: /lang/articles/internal
slug: /internal
---
# Internal designs

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/misc/profiler.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
slug: /lang/articles/profiler
slug: /profiler
---
# Profiler

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/reference.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 9998
slug: /lang/articles/reference
slug: /reference
---
# Language Reference

Expand Down
2 changes: 1 addition & 1 deletion website/docs/lang/articles/tutorials/ndarray_android.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 1
slug: /lang/articles/ndarray_android
slug: /ndarray_android
---
# Run a Taichi Program using Ndarray on Android

Expand Down
2 changes: 1 addition & 1 deletion website/scripts/flaturl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const tabutils = require('./tab')
const myArgs = process.argv.slice(2);
let frombase = './docs'
let tobase = './docs'
let baseurl = '/lang/articles'
let baseurl = ''
if (myArgs.length >= 1) {
frombase = myArgs[0]
}
Expand Down
4 changes: 2 additions & 2 deletions website/sync_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ do
rm -rf ./versioned_docs/version-$version
mkdir -p ./versioned_docs/version-$version
rsync -avh --delete $TAICHI_MAIN/docs/lang/ $TAICHI_WEBSITE/website/versioned_docs/version-$version/lang
node ./scripts/flaturl ./versioned_docs/version-$version ./versioned_docs/version-$version /lang/articles
node ./scripts/flaturl ./versioned_docs/version-$version ./versioned_docs/version-$version
cp -r variables ./versioned_docs/version-$version/variables
rsync -avh --delete $TAICHI_MAIN/docs/variable.json $TAICHI_WEBSITE/website/versioned_docs/version-$version/variables/variable.json
rsync -avh --delete $TAICHI_MAIN/docs/fragments/ $TAICHI_WEBSITE/website/versioned_docs/version-$version/fragments
Expand All @@ -30,7 +30,7 @@ cd $TAICHI_WEBSITE/website
rm -rf docs
mkdir -p $TAICHI_WEBSITE/website/docs/lang
rsync -avh --delete $TAICHI_MAIN/docs/lang/ $TAICHI_WEBSITE/website/docs/lang
node ./scripts/flaturl ./docs ./docs /lang/articles
node ./scripts/flaturl ./docs ./docs
cp -r variables ./docs/variables
rsync -avh --delete $TAICHI_MAIN/docs/variable.json $TAICHI_WEBSITE/website/docs/variables/variable.json
rsync -avh --delete $TAICHI_MAIN/docs/fragments/ $TAICHI_WEBSITE/website/docs/fragments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
slug: /lang/articles/differentiable_programming
slug: /differentiable_programming
---
# Differentiable programming

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
slug: /lang/articles/layout
slug: /layout
---
# Fields (advanced)
Modern processor cores compute orders of magnitude faster than their equipped memory systems. To shrink this performance gap, multi-level cache systems and high-bandwidth multi-channel memories are built into computer architectures.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 1
slug: /lang/articles/meta
slug: /meta
---
# Metaprogramming

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 6
slug: /lang/articles/odop
slug: /odop
---
# Objective data-oriented programming

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 7
slug: /lang/articles/offset
slug: /offset
---
# Coordinate offsets

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 5
slug: /lang/articles/performance
slug: /performance
---
# Performance tuning

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 3
slug: /lang/articles/sparse
slug: /sparse
---
# Sparse spatial data structures

Expand Down
Loading

0 comments on commit 3cea4b6

Please sign in to comment.